Import 2017-06-07 23:51:09: master 7ea10346

Author Committer Branch Timestamp Parent
jcfr jcfr master 2014-02-05 17:36:13 master e1bc774c
Affected Issues 0003576: Erase tool is not cancelled after selecting an other effect
Changeset

BUG: Restore stored label when selecting editor effect different from erase

Selecting the "EraseLabel" effect was storing the current label into
the 'storedLabel' parameter node attribute but this one was never restored
when selecting an other effect.

This commit fix the issue by ensuring the stored label is restored and also
introduce two new functions: 'backupLabel' and 'restoreLabel'

Fixes 0003576

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

mod - Modules/Scripted/EditorLib/EditBox.py Diff File
mod - Modules/Scripted/EditorLib/EditUtil.py Diff File