diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-01-30 14:54:01 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-01-30 14:54:01 +0000 |
| commit | 7531449fc6f5c3113802747db11a2bca2e308555 (patch) | |
| tree | eb1e211ef0f68674f3f929516e00b3a0c288a800 /src/desktop.cpp | |
| parent | GradientToolbar: GtkAction migration (diff) | |
| download | inkscape-7531449fc6f5c3113802747db11a2bca2e308555.tar.gz inkscape-7531449fc6f5c3113802747db11a2bca2e308555.zip | |
Allow InkscapeApplication to track current document, selection, and desktop.
Diffstat (limited to 'src/desktop.cpp')
| -rw-r--r-- | src/desktop.cpp | 1 |
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; |
