Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 838a1292 authored by Eoin O'Neill's avatar Eoin O'Neill 🍀

Hotfix for canvas crashing on closing when having more than one document open.

Let's make sure the canvas we're setting `null` is the right one, shall we? :)
This should solve the crash without reintroducing the soft-lock on graphics
acceleration changes.

parent c0495fb7
......@@ -473,7 +473,6 @@ bool KisInputManager::eventFilterImpl(QEvent * event)
d->touchHasBlockedPressEvents = false;
case QEvent::Leave:
......@@ -259,8 +259,10 @@ void KisInputManager::Private::CanvasSwitcher::removeCanvas(KisCanvas2 *canvas)
d->canvas = 0;
d->toolProxy = 0;
if (d->canvas == canvas) {
d->canvas = 0;
d->toolProxy = 0;
bool isInputWidget(QWidget *w)
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