summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 71f607b65..e42f6c8cb 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -106,6 +106,9 @@ SPDocument::SPDocument() {
p->redo = NULL;
priv = p;
+
+ // XXX only for testing!
+ priv->undoStackObservers.add(p->console_output_undo_observer);
}
SPDocument::~SPDocument() {