From 484baa251679432d1860c432283d58141d7ccdcf Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Fri, 14 Aug 2009 19:12:50 +0000 Subject: [PATCH] ADD: Spin Control (rotate image) --- invesalius/gui/frame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invesalius/gui/frame.py b/invesalius/gui/frame.py index fc2af80..24053e5 100755 --- a/invesalius/gui/frame.py +++ b/invesalius/gui/frame.py @@ -379,7 +379,7 @@ class ObjectToolBar(wx.ToolBar): self.Realize() self.states = {1:"Zoom in image", 2:"Zoom out image", - 3:"Rotate image", 4:"Set Pan Mode", + 3:"Set Spin Mode", 4:"Set Pan Mode", 5: "Bright and contrast adjustment"} def __bind_events(self): @@ -402,7 +402,7 @@ class ObjectToolBar(wx.ToolBar): #Not exist's tool enbled, change to default state if not (exist_enable_state): - print "Default State" + ps.Publisher().sendMessage('Set Editor Mode') evt.Skip() -- libgit2 0.21.2