Addressbook exception fix
The avatar was throwing an exception.
This commit is contained in:
parent
61ae94098d
commit
b8667864f5
|
@ -476,4 +476,5 @@ class Ui_AddressBookWidgetItemLabel(Ui_AddressBookWidgetItem):
|
||||||
class Ui_AddressBookWidgetItemAddress(Ui_AddressBookWidgetItem):
|
class Ui_AddressBookWidgetItemAddress(Ui_AddressBookWidgetItem):
|
||||||
def __init__ (self, address, label, type):
|
def __init__ (self, address, label, type):
|
||||||
Ui_AddressBookWidgetItem.__init__(self, address, type)
|
Ui_AddressBookWidgetItem.__init__(self, address, type)
|
||||||
|
self.address = address
|
||||||
self.setFlags(QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEnabled)
|
self.setFlags(QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEnabled)
|
||||||
|
|
Reference in New Issue
Block a user