Fix folder selection dialog modality and focus on Windows.
[claws.git] / src / foldersel.c
index e618d41c665a64a4bca5a27e664fcaaeb57bacfc..0b77f159c4d1aa7d117f489571141523fa0de14a 100644 (file)
@@ -179,8 +179,8 @@ FolderItem *foldersel_folder_sel(Folder *cur_folder, FolderSelectionType type,
        gtk_widget_grab_focus(treeview);
 
        gtk_window_present(GTK_WINDOW(window));
-       gtk_window_set_modal(GTK_WINDOW(window), TRUE);
        manage_window_set_transient(GTK_WINDOW(window));
+       gtk_window_set_modal(GTK_WINDOW(window), TRUE);
 
        cancelled = finished = FALSE;