parent
78734d81a1
commit
23b8811add
|
@ -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