summaryrefslogtreecommitdiff
path: root/utils/themeeditor/gui/editorwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/gui/editorwindow.cpp')
-rw-r--r--utils/themeeditor/gui/editorwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/themeeditor/gui/editorwindow.cpp b/utils/themeeditor/gui/editorwindow.cpp
index 64443a1fd1..71b0c07405 100644
--- a/utils/themeeditor/gui/editorwindow.cpp
+++ b/utils/themeeditor/gui/editorwindow.cpp
@@ -311,8 +311,7 @@ void EditorWindow::addTab(TabContent *doc)
311 this, SLOT(lineChanged(int))); 311 this, SLOT(lineChanged(int)));
312 312
313 /* Connecting to settings change events */ 313 /* Connecting to settings change events */
314 if(doc->type() == TabContent::Skin) 314 doc->connectPrefs(prefs);
315 dynamic_cast<SkinDocument*>(doc)->connectPrefs(prefs);
316} 315}
317 316
318 317