From 18a6f42f2622d27967c3ad83b27a1de4f713dff2 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Sun, 15 Aug 2010 01:50:27 +0000 Subject: Theme Editor: Editor font/color settings are now applied to config documents git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27818 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/gui/editorwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'utils/themeeditor/gui/editorwindow.cpp') 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(doc)->connectPrefs(prefs); + doc->connectPrefs(prefs); } -- cgit v1.1