Diffusion Krita d0f011a061c5

Fix crash in move tool after closing the document

Authored by dkazakov on May 23 2019, 3:50 PM.

Description

Fix crash in move tool after closing the document

We shouldn't use lambda functions in signal connection if we need
to control lifetime of the connection. In this very case, the connection
was still active after destruciton of KisToolMove and lambda still stored
a pointer to destroyed 'this'.

BUG:407228
BACKPORT:krita/4.2
(cherry picked from commit 4622b00348ce7973f53245930506aef5099c9850)

Details

Committed
remptMay 24 2019, 10:17 AM
Parents
R37:238ca2b94c52: Click layer thumbnail with no modifier set layer selected
Branches
Unknown
Tags
Unknown