changeset 208:bbcad87585eb

browser side: added "add" button in GroupSelector's add group dialog fix bug 15
author Goffi <goffi@goffi.org>
date Fri, 28 Jun 2013 00:05:52 +0200
parents a43b66af3872
children 4564c7bc06a7
files browser_side/dialog.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/browser_side/dialog.py	Thu Jun 27 22:09:34 2013 +0200
+++ b/browser_side/dialog.py	Fri Jun 28 00:05:52 2013 +0200
@@ -219,8 +219,10 @@
         add_group_panel = HorizontalPanel()
         add_group_lb = Label('Add group:')
         add_group_tb = ExtTextBox(enter_cb = self.onGroupInput)
+        add_group_bt = Button("add", lambda sender: self.onGroupInput(add_group_tb))
         add_group_panel.add(add_group_lb)
         add_group_panel.add(add_group_tb)
+        add_group_panel.add(add_group_bt)
         main_panel.add(add_group_panel)
         
         button_panel = HorizontalPanel()