diff options
Diffstat (limited to 'utils/themeeditor/gui/editorwindow.cpp')
| -rw-r--r-- | utils/themeeditor/gui/editorwindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/themeeditor/gui/editorwindow.cpp b/utils/themeeditor/gui/editorwindow.cpp index 64443a1..71b0c07 100644 --- a/utils/themeeditor/gui/editorwindow.cpp +++ b/utils/themeeditor/gui/editorwindow.cpp @@ -311,8 +311,7 @@ void EditorWindow::addTab(TabContent *doc) this, SLOT(lineChanged(int))); /* Connecting to settings change events */ - if(doc->type() == TabContent::Skin) - dynamic_cast<SkinDocument*>(doc)->connectPrefs(prefs); + doc->connectPrefs(prefs); } |