summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-03 23:11:44 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-03 23:11:44 +0300
commit146e9182d8c930e62fbcc281615b96c95319a5ea (patch)
tree04e4dc8967337fa6b5c970f5fdc4351ebfb10e45 /src/gui
parent9130e3fffe6e4a660606ba3347df3be74de17d3c (diff)
downloadplus-146e9182d8c930e62fbcc281615b96c95319a5ea.tar.gz
plus-146e9182d8c930e62fbcc281615b96c95319a5ea.tar.bz2
plus-146e9182d8c930e62fbcc281615b96c95319a5ea.tar.xz
plus-146e9182d8c930e62fbcc281615b96c95319a5ea.zip
Fix theme colors loading.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/theme.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index 0628b5b86..b225cac08 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -532,6 +532,8 @@ bool Theme::tryThemePath(std::string themeName)
{
mThemePath = path;
mThemeName = themeName;
+ if (instance())
+ instance()->loadColors(mThemePath);
return true;
}
}