Index: simulator/plugins/treatmentstates/loader.py =================================================================== diff -u -r9206e36aeff354823f2c37103d79f548221cd64c -rf921975179b1c1ad61d841b9db5976c00432fdcc --- simulator/plugins/treatmentstates/loader.py (.../loader.py) (revision 9206e36aeff354823f2c37103d79f548221cd64c) +++ simulator/plugins/treatmentstates/loader.py (.../loader.py) (revision f921975179b1c1ad61d841b9db5976c00432fdcc) @@ -21,9 +21,6 @@ def __init__(self): super().__init__(os.path.dirname(__file__)) - # apply/send the initial states - self.do_treatment_states() - def _init_loader(self): """ finds and creates widgets @@ -43,6 +40,8 @@ self.tblUFStates.cellClicked.connect(self.do_treatment_states) self.tblSalineStates.cellClicked.connect(self.do_treatment_states) self.tblHeparinStates.cellClicked.connect(self.do_treatment_states) + # apply/send the initial states + self.do_treatment_states() def _init_widgets(self): """