summaryrefslogtreecommitdiffstats
path: root/src/dialogs/export.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/export.cpp')
-rw-r--r--src/dialogs/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp
index 14d338ed5..10dbc575f 100644
--- a/src/dialogs/export.cpp
+++ b/src/dialogs/export.cpp
@@ -1301,7 +1301,7 @@ sp_export_browse_clicked (GtkButton */*button*/, gpointer /*userdata*/)
const gchar *filename;
fs = gtk_file_chooser_dialog_new (_("Select a filename for exporting"),
- NULL,
+ (GtkWindow*)dlg,
GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,