Update after showing menu, so that mouse-over highlight is removed.

This commit is contained in:
craig.p.drummond
2014-10-03 16:11:10 +00:00
committed by craig.p.drummond
parent 2764c4777f
commit 802df2e361

View File

@@ -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: {