summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/theme.cpp1
-rw-r--r--src/gui/theme.h1
-rw-r--r--src/gui/widgets/textfield.cpp2
3 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index cc9116cdd..9aa920bc7 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -669,6 +669,7 @@ static int readColorType(const std::string &type)
"RADIOBUTTON",
"TAB",
"TEXTBOX",
+ "TEXTFIELD",
"PARTY_CHAT_TAB",
"PARTY_SOCIAL_TAB",
"GUILD_CHAT_TAB",
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 9c89afc84..2c9588b6c 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -177,6 +177,7 @@ class Theme : public Palette, public ConfigListener
RADIOBUTTON,
TAB,
TEXTBOX,
+ TEXTFIELD,
PARTY_CHAT_TAB,
PARTY_SOCIAL_TAB,
GUILD_CHAT_TAB,
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp
index 261cdf901..1c22a0a7b 100644
--- a/src/gui/widgets/textfield.cpp
+++ b/src/gui/widgets/textfield.cpp
@@ -60,7 +60,7 @@ TextField::TextField(const std::string &text, bool loseFocusOnTab,
{
setFrameSize(2);
- setForegroundColor(Theme::getThemeColor(Theme::TEXT));
+ setForegroundColor(Theme::getThemeColor(Theme::TEXTFIELD));
if (instances == 0)
{