Don't crash in certain instances when the current node has changed

Authored by leinir on Mar 28 2014, 3:04 PM.

Description

Don't crash in certain instances when the current node has changed

This will happen e.g. when deleting a filter mask which is currently
selected, and we'll end up with a potentially dangling pointer. The
code should be doing it this way anyway, so... yeah, sorted :)

Details

Committed
leinirMar 28 2014, 3:14 PM
Parents
R8:8e4ca7ca7609: sketch: If we don't have a tool on startup, switch to the brush
Branches
Unknown
Tags
Unknown