fix occusional crash from right click triggering

pull/1/head
Michail Vourlakos 8 years ago
parent 90b95f65ac
commit 9c3e8f891c

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