diff options
author | Ummu <jeff@ummu.org> | 2009-07-24 11:40:46 +0400 |
---|---|---|
committer | Ummu <jeff@ummu.org> | 2009-07-24 11:40:46 +0400 |
commit | 5552896c8616dda1f4353461202e6422682deafd (patch) | |
tree | 9bcd73d1e9cb221095fc857aa7c5d5528b77bbe1 | |
parent | 9f05fc88321eb6abe808484ab4e10b326dc4cdf5 (diff) |
Linked the other buttons to tools too, did not save properly
-rw-r--r-- | src/whiteboardwidget.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/whiteboardwidget.py b/src/whiteboardwidget.py index 9ece3a071..c547ddce9 100644 --- a/src/whiteboardwidget.py +++ b/src/whiteboardwidget.py @@ -48,10 +48,10 @@ class Whiteboard(object): self.item_data = None def on_brush_button_clicked(self, widget): - print 'on_brush_button_clicked' + self.draw_tool = 'brush' def on_oval_button_clicked(self, widget): - print 'on_oval_button_clicked' + self.draw_tool = 'oval' def on_export_button_clicked(self, widget): self.image.print_xml() |