diff options
Diffstat (limited to 'src/dialogs/export.cpp')
| -rw-r--r-- | src/dialogs/export.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index 85149ccaa..706ece066 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -156,6 +156,9 @@ static const char * selection_labels[SELECTION_NUMBER_OF] = { static void sp_export_dialog_destroy ( GtkObject */*object*/, gpointer /*data*/ ) { + Inkscape::Preferences *prefs = Inkscape::Preferences::get(); + prefs->setInt(prefs_path + "visible", 0); + sp_signal_disconnect_by_data (INKSCAPE, dlg); wd.win = dlg = NULL; @@ -422,6 +425,8 @@ sp_export_dialog (void) h = prefs->getInt(prefs_path + "h", 0); } + prefs->setInt(prefs_path + "visible", 1); + // if (x<0) x=0; // if (y<0) y=0; |
