Commit 484baa251679432d1860c432283d58141d7ccdcf
1 parent
1a25b970
Exists in
master
and in
6 other branches
ADD: Spin Control (rotate image)
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/gui/frame.py
... | ... | @@ -379,7 +379,7 @@ class ObjectToolBar(wx.ToolBar): |
379 | 379 | self.Realize() |
380 | 380 | |
381 | 381 | self.states = {1:"Zoom in image", 2:"Zoom out image", |
382 | - 3:"Rotate image", 4:"Set Pan Mode", | |
382 | + 3:"Set Spin Mode", 4:"Set Pan Mode", | |
383 | 383 | 5: "Bright and contrast adjustment"} |
384 | 384 | |
385 | 385 | def __bind_events(self): |
... | ... | @@ -402,7 +402,7 @@ class ObjectToolBar(wx.ToolBar): |
402 | 402 | |
403 | 403 | #Not exist's tool enbled, change to default state |
404 | 404 | if not (exist_enable_state): |
405 | - print "Default State" | |
405 | + ps.Publisher().sendMessage('Set Editor Mode') | |
406 | 406 | |
407 | 407 | evt.Skip() |
408 | 408 | ... | ... |