aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/guiFormSpecMenu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp
index ed197d0d1..61112b570 100644
--- a/src/gui/guiFormSpecMenu.cpp
+++ b/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);