summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 89a7da9d0..2476b10bb 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -1529,6 +1529,7 @@ SPDesktop::setDocument (SPDocument *doc)
}
layers->setDocument(doc);
+ selection->setDocument(doc);
// remove old EventLog if it exists (see also: bug #1071082)
if (event_log) {