summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/theme.cpp1
-rw-r--r--src/gui/theme.h1
-rw-r--r--src/gui/widgets/dropdown.cpp3
3 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index 723730e2d..440c4ccf9 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -663,6 +663,7 @@ static int readColorType(const std::string &type)
"BUTTON",
"BUTTON_DISABLED",
"CHECKBOX",
+ "DROPDOWN",
"TAB",
"PARTY_CHAT_TAB",
"PARTY_SOCIAL_TAB",
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 15628d9d3..5e478a433 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -171,6 +171,7 @@ class Theme : public Palette, public ConfigListener
BUTTON,
BUTTON_DISABLED,
CHECKBOX,
+ DROPDOWN,
TAB,
PARTY_CHAT_TAB,
PARTY_SOCIAL_TAB,
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);