Mercurial > libervia-web
diff browser_side/dialog.py @ 125:f9d63624699f
radio collective integration, first draft
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 05 Jan 2012 00:22:03 +0100 |
parents | 1c75fd97baf9 |
children | ddfcc4cb6cee |
line wrap: on
line diff
--- a/browser_side/dialog.py Mon Dec 12 22:26:55 2011 +0100 +++ b/browser_side/dialog.py Thu Jan 05 00:22:03 2012 +0100 @@ -59,7 +59,8 @@ content.add(self.contacts_list) button_panel = HorizontalPanel() self.choose_button = Button("Choose", self.onChoose) - self.choose_button.setEnabled(False) + if (nb_contact): + self.choose_button.setEnabled(False) button_panel.add(self.choose_button) button_panel.add(Button("Cancel", self.onCancel)) content.add(button_panel)