summaryrefslogtreecommitdiff
path: root/src/gui/widgets/emoteshortcutcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/emoteshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/emoteshortcutcontainer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/emoteshortcutcontainer.cpp b/src/gui/widgets/emoteshortcutcontainer.cpp
index a2a6b5f22..87719b775 100644
--- a/src/gui/widgets/emoteshortcutcontainer.cpp
+++ b/src/gui/widgets/emoteshortcutcontainer.cpp
@@ -95,6 +95,12 @@ EmoteShortcutContainer::~EmoteShortcutContainer()
}
}
+void EmoteShortcutContainer::setWidget2(const Widget2 *const widget)
+{
+ Widget2::setWidget2(widget);
+ mForegroundColor = getThemeColor(Theme::TEXT);
+}
+
void EmoteShortcutContainer::draw(gcn::Graphics *graphics)
{
if (!emoteShortcut)