summaryrefslogtreecommitdiff
path: root/src/gui/widgets/spellshortcutcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/spellshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp
index 22ed8d6b5..061e12b73 100644
--- a/src/gui/widgets/spellshortcutcontainer.cpp
+++ b/src/gui/widgets/spellshortcutcontainer.cpp
@@ -84,6 +84,12 @@ SpellShortcutContainer::~SpellShortcutContainer()
mSpellPopup = nullptr;
}
+void SpellShortcutContainer::setWidget2(const Widget2 *const widget)
+{
+ Widget2::setWidget2(widget);
+ mForegroundColor = getThemeColor(Theme::TEXT);
+}
+
void SpellShortcutContainer::draw(gcn::Graphics *graphics)
{
if (!spellShortcut)