summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index db861b796..dc54ce6c3 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -522,7 +522,7 @@ void SPDesktop::_setDisplayMode(Inkscape::RenderMode mode) {
_split_canvas = false;
}
redrawDesktop();
- _widget->setTitle( this->getDocument()->getName() );
+ _widget->setTitle( this->getDocument()->getDocumentName() );
}
void SPDesktop::_setDisplayColorMode(Inkscape::ColorMode mode) {
// reload grayscale matrix from prefs
@@ -543,7 +543,7 @@ void SPDesktop::_setDisplayColorMode(Inkscape::ColorMode mode) {
canvas->_colorrendermode = mode;
_display_color_mode = mode;
redrawDesktop();
- _widget->setTitle( this->getDocument()->getName() );
+ _widget->setTitle( this->getDocument()->getDocumentName() );
}
void SPDesktop::displayModeToggle() {