Permalink
Browse files

ENH: enable the editor cursor for the wand effect

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21824 3bd1e089-480b-0410-8dfb-8563597acbee
  • Loading branch information...
1 parent c9015ff commit ec920044c2a3147ef86da0cee688ddc063ee79b0 @pieper pieper committed Mar 18, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 Modules/Scripted/EditorLib/EditBox.py
@@ -100,7 +100,7 @@ def onInteractionModeChanged(self, caller, event):
# effects that change the mouse cursor
availableMouseTools = (
- "Paint", "Draw", "LevelTracing", "Rectangle", "ChangeIsland", "SaveIsland",
+ "Paint", "Draw", "LevelTracing", "Rectangle", "ChangeIsland", "SaveIsland", "Wand",
)
# effects that operate from the menu (non mouse)
@@ -167,6 +167,7 @@ def findEffects(self, path=""):
self.effectIconFiles["ChangeIslandEffect"] = self.effectIconFiles["ChangeIsland"]
self.effectIconFiles["ChangeLabelEffect"] = self.effectIconFiles["ChangeLabel"]
self.effectIconFiles["GrowCutEffect"] = self.effectIconFiles["GrowCutSegment"]
+ self.effectIconFiles["Wand"] = self.effectIconFiles["WandEffect"]
def createButtonRow(self, effects, rowLabel=""):
""" create a row of the edit box given a list of

0 comments on commit ec92004

Please sign in to comment.