parent
a85e9ed20e
commit
8f5d177690
|
@ -42,6 +42,10 @@ class AccountMixin (object):
|
||||||
self.isEnabled = enabled
|
self.isEnabled = enabled
|
||||||
if hasattr(self, "setExpanded"):
|
if hasattr(self, "setExpanded"):
|
||||||
self.setExpanded(enabled)
|
self.setExpanded(enabled)
|
||||||
|
if isinstance(self, Ui_AddressWidget):
|
||||||
|
for i in range(self.childCount()):
|
||||||
|
if isinstance(self.child(i), Ui_FolderWidget):
|
||||||
|
self.child(i).setEnabled(enabled)
|
||||||
self.updateText()
|
self.updateText()
|
||||||
|
|
||||||
def setType(self):
|
def setType(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user