diff options
Diffstat (limited to 'src/remmina_exec.c')
-rw-r--r-- | src/remmina_exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remmina_exec.c b/src/remmina_exec.c index c0dccc92a..13e2281ec 100644 --- a/src/remmina_exec.c +++ b/src/remmina_exec.c @@ -166,7 +166,8 @@ void remmina_exec_command(RemminaCommandType command, const gchar* data) break; case REMMINA_COMMAND_PREF: - remmina_unlock_new(mainwindow); + if (remmina_unlock_new(mainwindow) == 0) + break; prefdialog = remmina_pref_dialog_get_dialog(); if (prefdialog) { gtk_window_present(GTK_WINDOW(prefdialog)); |