summaryrefslogtreecommitdiff
path: root/src/gui/widgets/dropdown.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-29 01:11:53 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-29 01:11:53 +0300
commite09cff19fba98786e2bbc551066cbb11d189f687 (patch)
tree909380d278d6eb6b34c0f2c92278d6b86e7313c9 /src/gui/widgets/dropdown.cpp
parent8173f60c83d176e10412b1dc1191d7987cebdb10 (diff)
downloadplus-e09cff19fba98786e2bbc551066cbb11d189f687.tar.gz
plus-e09cff19fba98786e2bbc551066cbb11d189f687.tar.bz2
plus-e09cff19fba98786e2bbc551066cbb11d189f687.tar.xz
plus-e09cff19fba98786e2bbc551066cbb11d189f687.zip
Add dropdown own color.
Parameter "DROPDOWN" in colors.xml
Diffstat (limited to 'src/gui/widgets/dropdown.cpp')
-rw-r--r--src/gui/widgets/dropdown.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp
index d42b60799..3012c5553 100644
--- a/src/gui/widgets/dropdown.cpp
+++ b/src/gui/widgets/dropdown.cpp
@@ -106,7 +106,8 @@ DropDown::DropDown(gcn::ListModel *listModel, gcn::ActionListener* listener,
instances++;
- setForegroundColor(Theme::getThemeColor(Theme::TEXT));
+ mListBox->setForegroundColor(Theme::getThemeColor(Theme::DROPDOWN));
+ setForegroundColor(Theme::getThemeColor(Theme::DROPDOWN));
if (!eventId.empty())
setActionEventId(eventId);