Mercurial > libervia-web
diff browser_side/dialog.py @ 209:4564c7bc06a7
browser side: fixed setGroupsSelected in GroupSelector
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 28 Jun 2013 00:06:31 +0200 |
parents | bbcad87585eb |
children | 3092f6b1710c |
line wrap: on
line diff
--- a/browser_side/dialog.py Fri Jun 28 00:05:52 2013 +0200 +++ b/browser_side/dialog.py Fri Jun 28 00:06:31 2013 +0200 @@ -244,8 +244,7 @@ self.list_box.addItem(group) def setGroupsSelected(self, selected_groups): - if groups: - self.list_box.setItemTextSelection(selected_groups) + self.list_box.setItemTextSelection(selected_groups) def onOK(self, sender): self.hide()