Skip to content

Commit 09d7fbd

Browse files
appgurueusfan5
authored andcommittedDec 28, 2020
Fix item tooltip background color not working
1 parent 55dba1b commit 09d7fbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎src/gui/guiFormSpecMenu.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -3718,7 +3718,8 @@ void GUIFormSpecMenu::showTooltip(const std::wstring &text,
37183718
{
37193719
EnrichedString ntext(text);
37203720
ntext.setDefaultColor(color);
3721-
ntext.setBackground(bgcolor);
3721+
if (!ntext.hasBackground())
3722+
ntext.setBackground(bgcolor);
37223723

37233724
setStaticText(m_tooltip_element, ntext);
37243725

0 commit comments

Comments
 (0)
Please sign in to comment.