Correctly disconnect the time navigation controller
Summary:
Disconnect time navigation controller
If a render window widget is removed, the time navigation controller
has to be disconnected, otherwise the non-existent render window
still observes GeometryTimeEvents.
Test Plan:
manual testing
- open MITK workbench, load a dataset
- close the standard display, open the mxn display
- use the layout button to create more render windows
- use the layout button again to create less render windows
- reinit the loaded dataset
- without this fix MITK will crash
Reviewers: s434n, O3 MITK Reviewer Group II
Reviewed By: s434n, O3 MITK Reviewer Group II
Subscribers: floca, kalali, s434n
Maniphest Tasks: T29240
Differential Revision: https://phabricator.mitk.org/D692