Update after showing menu, so that mouse-over highlight is removed.
This commit is contained in:
committed by
craig.p.drummond
parent
2764c4777f
commit
802df2e361
@@ -76,6 +76,7 @@ bool SelectorLabel::event(QEvent *e)
|
||||
case QEvent::MouseButtonPress:
|
||||
if (Qt::NoModifier==static_cast<QMouseEvent *>(e)->modifiers() && Qt::LeftButton==static_cast<QMouseEvent *>(e)->button()) {
|
||||
menu->exec(mapToGlobal(QPoint(0, 0)));
|
||||
update();
|
||||
}
|
||||
break;
|
||||
case QEvent::Wheel: {
|
||||
|
||||
Reference in New Issue
Block a user