summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/file-update.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file-update.cpp b/src/file-update.cpp
index 303a5c4f1..1d95b5d4c 100644
--- a/src/file-update.cpp
+++ b/src/file-update.cpp
@@ -318,6 +318,7 @@ void sp_file_convert_dpi(SPDocument *doc)
bool backup = prefs->getBool("/options/dpifixbackup", true);
if (INKSCAPE.use_gui() && sp_file_convert_dpi_method_commandline == -1) {
Gtk::Dialog scale_dialog(_("Convert legacy Inkscape file"));
+ scale_dialog.set_transient_for( *(INKSCAPE.active_desktop()->getToplevel()) );
scale_dialog.set_border_width(10);
scale_dialog.set_resizable(false);
Gtk::Label explanation;