diff options
author | Kevin McCarthy <kevin@8t8.us> | 2017-03-26 18:31:39 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2017-03-26 18:31:39 -0700 |
commit | e0634939199b13b97d321697a8307df710c2fe4f (patch) | |
tree | bac86e7678474dcf57a61a17e4c88bdf97488f50 /crypt-gpgme.c | |
parent | 26331cb7d71444f2a870dfa0dc3a6f33f946b5e8 (diff) |
Add a menu stack to track current and past menus.
Change the pager to use a MENU, right now just to hold the refresh
state.
Diffstat (limited to 'crypt-gpgme.c')
-rw-r--r-- | crypt-gpgme.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypt-gpgme.c b/crypt-gpgme.c index 26974b99..1a311796 100644 --- a/crypt-gpgme.c +++ b/crypt-gpgme.c @@ -4031,6 +4031,7 @@ static crypt_key_t *crypt_select_key (crypt_key_t *keys, menu->make_entry = crypt_entry; menu->help = helpstr; menu->data = key_table; + mutt_push_current_menu (menu); { const char *ts; @@ -4139,6 +4140,7 @@ static crypt_key_t *crypt_select_key (crypt_key_t *keys, } } + mutt_pop_current_menu (menu); mutt_menuDestroy (&menu); FREE (&key_table); |