Import 2017-06-07 23:51:09: master 497aac2d

Author Committer Branch Timestamp Parent
pieper pieper master 2015-05-19 18:14:01 master d7ec00d8
Changeset

BUG: Avoid error on shutdown

When the layoutManager is destroyed check that there is a new one
before trying to connect.

Traceback (most recent call last):
File "/Users/pieper/slicer4/latest/Slicer-superbuild/Slicer-build/lib/Slicer-4.4/qt-scripted-modules/DataProbeLib/SliceViewAnnotations.py", line 232, in onLayoutManagerDestroyed
self.layoutManager.connect("destroyed()", self.onLayoutManagerDestroyed)
AttributeError: 'NoneType' object has no attribute 'connect'

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24267 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Modules/Scripted/DataProbe/DataProbeLib/SliceViewAnnotations.py Diff File