summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/file.cpp b/src/file.cpp
index dd609de50..464454a65 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -217,8 +217,6 @@ bool sp_file_open(const Glib::ustring &uri,
if (desktop) {
desktop->setWaitingCursor();
}
- Inkscape::Preferences *prefs = Inkscape::Preferences::get();
- prefs->setString("/options/openmethod/value", "open");
SPDocument *doc = nullptr;
bool cancelled = false;
try {
@@ -231,7 +229,6 @@ bool sp_file_open(const Glib::ustring &uri,
doc = nullptr;
cancelled = true;
}
- prefs->setString("/options/openmethod/value", "done");
if (desktop) {
desktop->clearWaitingCursor();
}