summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-03-17 23:10:37 +0000
committermental <mental@users.sourceforge.net>2007-03-17 23:10:37 +0000
commit2426c608f46f218683d91308f820b2b887af3f08 (patch)
tree1bff575ede3e852b9f68a390afb299f12859e006 /src/document.cpp
parentre-introduce isEmpty tests (diff)
downloadinkscape-2426c608f46f218683d91308f820b2b887af3f08.tar.gz
inkscape-2426c608f46f218683d91308f820b2b887af3f08.zip
better way to deal with undo+id collisions
(bzr r2680)
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/document.cpp b/src/document.cpp
index d77d61d09..c6dc66a51 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -106,6 +106,7 @@ SPDocument::SPDocument() {
p->history_size = 0;
p->undo = NULL;
p->redo = NULL;
+ p->seeking = false;
priv = p;
@@ -1155,6 +1156,10 @@ vacuum_document(SPDocument *document)
return start - newend;
}
+bool SPDocument::isSeeking() const {
+ return priv->seeking;
+}
+
/*
Local Variables: