summaryrefslogtreecommitdiffstats
path: root/src/extension/system.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-09-22 11:17:10 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-09-22 11:17:10 +0000
commit0c63ba89a507f817dcd7b54cf60af8951e14e2c9 (patch)
treed97f5ff77162216ee8948ef3893f6af1eabb1e12 /src/extension/system.cpp
parentFix problems on dialogs with extensions. TODO: Add dialog on drag&drop a SVG (diff)
downloadinkscape-0c63ba89a507f817dcd7b54cf60af8951e14e2c9.tar.gz
inkscape-0c63ba89a507f817dcd7b54cf60af8951e14e2c9.zip
Allow ask for SVG dragged import method. Also split ask question from one to 2 (Bitmap and SVG)
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 {