summaryrefslogtreecommitdiffstats
path: root/src/sp-mesh-array.cpp
diff options
context:
space:
mode:
authorStefano Facchini <stefano.facchini@gmail.com>2017-10-20 20:40:38 +0000
committerStefano Facchini <stefano.facchini@gmail.com>2017-11-13 09:28:49 +0000
commit2adf86d21d42f7d225e0d2188109fbd031989cf4 (patch)
tree7fa2675fe92d4d05d31aa410d50d6b0934b17f0e /src/sp-mesh-array.cpp
parentRefactor SPDesktop::setEventContext to allow for unsetting the current tool (diff)
downloadinkscape-2adf86d21d42f7d225e0d2188109fbd031989cf4.tar.gz
inkscape-2adf86d21d42f7d225e0d2188109fbd031989cf4.zip
Unset the current tool early on shutdown.
Before this commit, when the application is terminated we call the ::finish() method for the current tool, only after deleting the selection and other objects. But it may happen that the tool's finish() assume that the selection is still alive, making the application crash. (For instance, with the Bezier tool when the path is still not closed). Instead, unset the current tool early, when the Desktop object is removed from the application, before calling its ::destroy() method.
Diffstat (limited to 'src/sp-mesh-array.cpp')
0 files changed, 0 insertions, 0 deletions