Commit c8a5907a authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Ignore mouse press events to close the popup palette.

parent 7fc640cf
......@@ -115,9 +115,10 @@ bool KisInputManager::eventFilter(QObject* object, QEvent* event)
case QEvent::MouseButtonDblClick: {
d->mousePosition = widgetToPixel(static_cast<QMouseEvent*>(event)->posF());
//If the palette is visible, then hide it.
//If the palette is visible, then hide it and eat the event.
if (canvas()->favoriteResourceManager()->isPopupPaletteVisible()) {
return true;
} //Intentional fall through
case QEvent::KeyPress:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment