Page MenuHomePhabricator

ToolManager keeps reference on removed datanode
Closed, ResolvedPublic

Description

ToolManager listens to DeleteEvents on DataNodes, but if a Node is removed from the datastorage all listeners are remove before the node itself is removed.
This leads to an inconsistent state that the ToolManager has still a reference to the node and that the 'New Segmentation' button is still enabled.

Event Timeline

[a7a3dd]: Merge branch 'bug-12917-ToolManager-keeps-reference'

Merged commits:

2012-08-22 16:05:39 Tobias Schroeder [4435d5]
added observer and callback on toolmanager


2012-08-15 17:45:30 Tobias Schroeder [3e8fd0]
remove datanode from toolmanager list and set selection to NULL