From 802df2e361e4c6b41d17cc76ec9bd147de385eb5 Mon Sep 17 00:00:00 2001 From: "craig.p.drummond" Date: Fri, 3 Oct 2014 16:11:10 +0000 Subject: [PATCH] Update after showing menu, so that mouse-over highlight is removed. --- widgets/selectorlabel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/widgets/selectorlabel.cpp b/widgets/selectorlabel.cpp index cd066a21b..af8fb9446 100644 --- a/widgets/selectorlabel.cpp +++ b/widgets/selectorlabel.cpp @@ -76,6 +76,7 @@ bool SelectorLabel::event(QEvent *e) case QEvent::MouseButtonPress: if (Qt::NoModifier==static_cast(e)->modifiers() && Qt::LeftButton==static_cast(e)->button()) { menu->exec(mapToGlobal(QPoint(0, 0))); + update(); } break; case QEvent::Wheel: {