* keyedit.c (keyedit_menu): Fix bug where a modified keyring loses its

modified status after a "clean" or "minimize" that doesn't need to do
anything.
This commit is contained in:
David Shaw 2008-09-25 18:12:39 +00:00
parent b77e7c9f2e
commit d3157d6f8e
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2008-09-25 David Shaw <dshaw@jabberwocky.com>
* keyedit.c (keyedit_menu): Fix bug where a modified keyring loses
its modified status after a "clean" or "minimize" that doesn't
need to do anything.
2008-09-25 Werner Koch <wk@g10code.com>
* parse-packet.c (parse): Remove special treatment for compressed

View File

@ -2200,11 +2200,13 @@ keyedit_menu( const char *username, strlist_t locusr,
break;
case cmdCLEAN:
redisplay=modified=menu_clean(keyblock,0);
if(menu_clean(keyblock,0))
redisplay=modified=1;
break;
case cmdMINIMIZE:
redisplay=modified=menu_clean(keyblock,1);
if(menu_clean(keyblock,1))
redisplay=modified=1;
break;
case cmdQUIT: