summaryrefslogtreecommitdiffstats
path: root/src/extension/system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/system.cpp')
-rw-r--r--src/extension/system.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/extension/system.cpp b/src/extension/system.cpp
index daad169aa..f000e88f0 100644
--- a/src/extension/system.cpp
+++ b/src/extension/system.cpp
@@ -98,9 +98,10 @@ SPDocument *open(Extension *key, gchar const *filename)
if (strlen(imod->get_id()) > 21) {
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
bool ask = prefs->getBool("/dialogs/import/ask");
+ bool ask_svg = prefs->getBool("/dialogs/import/ask_svg");
Glib::ustring id = Glib::ustring(imod->get_id(), 22);
if (id.compare("org.inkscape.input.svg") == 0) {
- if (ask && prefs->getBool("/options/onimport", false)) {
+ if (ask_svg && prefs->getBool("/options/onimport", false)) {
show = true;
imod->set_gui(true);
} else {