1
0
Fork 0
mirror of synced 2024-05-18 19:42:54 +12:00

SelectiveWidget: Disabled parent if there aren't any SDLs.

This commit is contained in:
loathingKernel 2024-01-13 15:57:00 +02:00
parent 971c31e8f4
commit 6cbad745df

View file

@ -45,6 +45,9 @@ class SelectiveWidget(QWidget):
cb.setChecked(True)
cb.stateChanged.connect(self.stateChanged)
main_layout.addWidget(cb)
self.parent().setDisabled(False)
else:
self.parent().setDisabled(True)
def install_tags(self):
install_tags = [""]