fix occusional crash from right click triggering

v0.6
Michail Vourlakos 8 years ago
parent bd54e3e8aa
commit 26d5d519de

@ -538,6 +538,7 @@ void DockView::mousePressEvent(QMouseEvent *event)
//by the qml incubator when plasma is loading, so we need to guard there
if (m_contextMenu) {
m_contextMenu->close();
m_contextMenu = 0;
PlasmaQuick::ContainmentView::mousePressEvent(event);
return;
}

Loading…
Cancel
Save