Import 2017-06-07 23:51:09: master 441c13d3

Author Committer Branch Timestamp Parent
jcfr jcfr master 2014-03-03 11:21:23 master c829548a
Changeset

BUG: Ensure node name is set when vtkSlicerCLIModuleLogic::CreateNode

Similarly to node created from the UI, node created
with the help of the logic will also have their name set with the
module title as basename.

For example, with the title of the module is:

General Registration (BRAINS)

Note name will be:

General Registration (BRAINS)
General Registration (BRAINS)_1
General Registration (BRAINS)_2
...

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

mod - Base/QTCLI/vtkSlicerCLIModuleLogic.cxx Diff File