SelectiveWidget: Disabled parent if there aren't any SDLs.
This commit is contained in:
parent
971c31e8f4
commit
6cbad745df
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,9 @@ class SelectiveWidget(QWidget):
|
||||||
cb.setChecked(True)
|
cb.setChecked(True)
|
||||||
cb.stateChanged.connect(self.stateChanged)
|
cb.stateChanged.connect(self.stateChanged)
|
||||||
main_layout.addWidget(cb)
|
main_layout.addWidget(cb)
|
||||||
|
self.parent().setDisabled(False)
|
||||||
|
else:
|
||||||
|
self.parent().setDisabled(True)
|
||||||
|
|
||||||
def install_tags(self):
|
def install_tags(self):
|
||||||
install_tags = [""]
|
install_tags = [""]
|
||||||
|
|
Loading…
Reference in a new issue