Slicer: 2145-support-for-installing-extension-from-file 623f3827

Author Committer Branch Timestamp Parent
pieper pieper 2145-support-for-installing-extension-from-file 2013-07-05 11:32:50 2145-support-for-installing-extension-from-file 606e0714
Affected Issues 0002990: Allow modules to define custom layouts
Changeset

BUG: 0002990 use conventional layout if saved layout not available

When a module or extension creates a custom layout the number (say, 100)
is saved in the settings file and slicer tries to restore that
on the next start up. However these layouts can be transient creations
and won't be available at startup. This patch improves handling of
that case - rather than printing a warning and showing a blank screen, the
program now starts with the regular layout which leads to less
user confusion.

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

mod - Libs/MRML/Widgets/qMRMLLayoutManager.cxx Diff File