summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorJabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es>2018-05-10 18:32:10 +0000
committerJabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es>2018-05-10 18:32:10 +0000
commit3aaa1121789fefe70da1b0cee5b92e57f0ec6475 (patch)
treea220c74a5b81817967943887651cd01183465f0c /src/verbs.cpp
parentAllow link a SVG as image (diff)
downloadinkscape-3aaa1121789fefe70da1b0cee5b92e57f0ec6475.tar.gz
inkscape-3aaa1121789fefe70da1b0cee5b92e57f0ec6475.zip
Add Maren improvements prepare to merge
Diffstat (limited to '')
-rw-r--r--src/verbs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 4ac94ec1b..4d86cf0ae 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -891,6 +891,7 @@ void FileVerb::perform(SPAction *action, void *data)
case SP_VERB_FILE_OPEN:
prefs->setString("/options/openmethod/value", "open");
sp_file_open_dialog(*parent, NULL, NULL);
+ prefs->setString("/options/openmethod/value", "done");
break;
case SP_VERB_FILE_REVERT:
sp_file_revert_dialog();
@@ -913,6 +914,7 @@ void FileVerb::perform(SPAction *action, void *data)
case SP_VERB_FILE_IMPORT:
prefs->setString("/options/openmethod/value","import");
sp_file_import(*parent);
+ prefs->setString("/options/openmethod/value", "done");
break;
// case SP_VERB_FILE_EXPORT:
// sp_file_export_dialog(*parent);
@@ -920,6 +922,7 @@ void FileVerb::perform(SPAction *action, void *data)
case SP_VERB_FILE_IMPORT_FROM_OCAL:
prefs->setString("/options/openmethod/value", "ocal");
sp_file_import_from_ocal(*parent);
+ prefs->setString("/options/openmethod/value", "done");
break;
// case SP_VERB_FILE_EXPORT_TO_OCAL:
// sp_file_export_to_ocal(*parent);