diff --git a/src/event/server_events.c b/src/event/server_events.c index 5dfa652f..69883141 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -118,6 +118,16 @@ sv_ev_roster_received(void) cons_show_error("Invalid PGP key ID specified: %s, %s", account->pgp_keyid, err_str); } free(err_str); + + // Redraw the screen after entry of the PGP secret key + ProfWin *win = wins_get_current(); + char *theme = prefs_get_string(PREF_THEME); + win_clear(win); + theme_init(theme); + prefs_free_string(theme); + ui_init(); + ui_resize(); + ui_show_roster(); } account_free(account); #endif