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 20c4914a4..ff40e5934 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -684,6 +684,7 @@ SPDesktop::change_document (SPDocument *theDocument)
(this can probably be done in a better way) */
InkscapeWindow *parent = this->getInkscapeWindow();
g_assert(parent != nullptr);
+ parent->change_document(theDocument);
SPDesktopWidget *dtw = parent->get_desktop_widget();
if (dtw) {
dtw->desktop = this;