Commit 3d2240fc authored by Dan Pascu's avatar Dan Pascu

Make sure we return a boolean for collapsed even when widget is Null

parent 928cc842
......@@ -39,7 +39,7 @@ class ContactGroup(object):
@property
def collapsed(self):
return self.widget.collapse_button.isChecked()
return bool(self.widget.collapse_button.isChecked())
def _get_name(self):
return self.__dict__['name']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment