def _synchronize_controls(self):
<EOL>self.grid_script._widget.setVisible(self.button_script.get_value())<EOL>if not self.combo_autoscript.get_index()==<NUM_LIT:0>: self.script.disable()<EOL>else:                                        self.script.enable()<EOL>
Updates the gui based on button configs.