Import 2017-06-07 23:51:09: master 13297996

Author Committer Branch Timestamp Parent
finetjul finetjul master 2014-09-30 23:30:39 master f70d076d
Changeset

BUG: Do not use QItemSelectionModel::currentRowChanged()

The signal is not reliable, ot might not be triggered at the right time.
Indeed the signal is for "key" events and has not a "selection" role.
The lack of trigger can lead to a crash due to widgets still observing
nodes that are not in the scene anymore.

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

mod - Libs/MRML/Widgets/qMRMLTreeView.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLTreeView.h Diff File
mod - Modules/Loadable/Annotations/Widgets/qMRMLAnnotationTreeView.cxx Diff File
mod - Modules/Loadable/Annotations/Widgets/qMRMLAnnotationTreeView.h Diff File
mod - Modules/Loadable/Models/Testing/Cxx/CMakeLists.txt Diff File
add - Modules/Loadable/Models/Testing/Cxx/qSlicerModelsModuleWidgetTest.cxx Diff File
mod - Modules/Loadable/Models/qSlicerModelsModule.cxx Diff File