Skip to content
Permalink
Browse files

Fix item tooltip background color not working

  • Loading branch information
appgurueu authored and sfan5 committed Dec 28, 2020
1 parent 55dba1b commit 09d7fbd645888aac32d089ff528ac1d1eb87e72d
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/guiFormSpecMenu.cpp
@@ -3718,7 +3718,8 @@ void GUIFormSpecMenu::showTooltip(const std::wstring &text,
{
EnrichedString ntext(text);
ntext.setDefaultColor(color);
ntext.setBackground(bgcolor);
if (!ntext.hasBackground())
ntext.setBackground(bgcolor);

setStaticText(m_tooltip_element, ntext);

0 comments on commit 09d7fbd

Please sign in to comment.