Commit 79d2f4dd authored by Dan Pascu's avatar Dan Pascu

Use python strings instead of QT strings for group name

parent 571abda0
......@@ -67,7 +67,7 @@ class ContactGroup(object):
@updates_contacts_db
def _name_changed(self):
self.name = self.widget.name_editor.text()
self.name = str(self.widget.name_editor.text())
def _get_widget(self):
return self.__dict__['widget']
......@@ -178,7 +178,7 @@ class ContactGroupWidget(base_class, ui_class):
return self.name_view.currentWidget() is self.editor_widget
def _get_name(self):
return self.name_label.text()
return str(self.name_label.text())
def _set_name(self, value):
self.name_label.setText(value)
......
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