Fix inputdialog modality and focus issue.
[claws.git] / src / gtk / inputdialog.c
index 00c273307107ca1b6c709a0122ca0f8f7dec001b..c131c0abf951e98bc50689d420836867efc1e3ea 100644 (file)
@@ -428,8 +428,8 @@ static gchar *input_dialog_open(const gchar *title, const gchar *message,
        else
                gtk_widget_hide(remember_checkbtn);
 
-       gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
        manage_window_set_transient(GTK_WINDOW(dialog));
+       gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
 
        ack = fin = FALSE;