summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordmitry.zhulanov@gmail.com <>2017-05-17 21:00:31 +0000
committerdmitry.zhulanov@gmail.com <>2017-05-17 21:00:31 +0000
commitd865c3a94b4761f476877ad11239c46830d68cec (patch)
treec867e6a6152144efaeb6501c5ea1d47d07c60737 /src
parentfix naming (diff)
downloadinkscape-d865c3a94b4761f476877ad11239c46830d68cec.tar.gz
inkscape-d865c3a94b4761f476877ad11239c46830d68cec.zip
fix crash
(bzr r15697.1.2)
Diffstat (limited to 'src')
-rw-r--r--src/main-cmdlinexact.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main-cmdlinexact.cpp b/src/main-cmdlinexact.cpp
index fd9520104..fc9e84dc4 100644
--- a/src/main-cmdlinexact.cpp
+++ b/src/main-cmdlinexact.cpp
@@ -108,6 +108,7 @@ void xFileOpen( const Glib::ustring &uri )
SPDocument *old_document = desktop->getDocument();
desktop->setWaitingCursor();
Inkscape::DocumentUndo::clearRedo(old_document);
+ Inkscape::DocumentUndo::clearUndo(old_document);
}
SPDocument *doc = NULL;