generated from dopt-python/py311
Dev #7
@@ -3846,6 +3846,12 @@ class Page_Consulting(QWidget):
|
||||
case ConsultingType.INDIVIUAL:
|
||||
self.type_individual_btn.setChecked(True)
|
||||
|
||||
# deactivate if at least one ID is set (type is pre-defined by how
|
||||
# the site is called)
|
||||
if self.STATE.un_id or self.STATE.pers_id:
|
||||
self.type_pauschal_btn.setEnabled(False)
|
||||
self.type_individual_btn.setEnabled(False)
|
||||
|
||||
# call to child modules not needed because these are initialised by their own
|
||||
# "load_state" method which again calls the modules sync method
|
||||
|
||||
|
||||
Reference in New Issue
Block a user