diff options
Diffstat (limited to 'src/account_dialog.c')
-rw-r--r-- | src/account_dialog.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/account_dialog.c b/src/account_dialog.c index 910e35c1..c93ff11e 100644 --- a/src/account_dialog.c +++ b/src/account_dialog.c @@ -207,7 +207,10 @@ void account_open(PrefsAccount *ac_prefs) return); prefs_account_open(ac_prefs); - gtk_window_present(GTK_WINDOW(edit_account.window)); + if (edit_account.window && GTK_WIDGET_VISIBLE(edit_account.window)) + gtk_window_present(GTK_WINDOW(edit_account.window)); + else + main_window_popup(main_window_get()); if (!prev_default && ac_prefs->is_default) account_set_as_default(ac_prefs); |