changeset 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
files browser_side/dialog.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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()