def save_state(self):
        """Save current state of GUI to configuration file."""
        set_setting('lastSourceDir', self.source_directory.text())
        set_setting('lastOutputDir', self.output_directory.text())
        set_setting(
            'useDefaultOutputDir', self.scenario_directory_radio.isChecked())
def save_state ( self ) : set_setting ( 'lastSourceDir' , self . source_directory . text ( ) ) set_setting ( 'lastOutputDir' , self . output_directory . text ( ) ) set_setting ( 'useDefaultOutputDir' , self . scenario_directory_radio . isChecked ( ) )
Save current state of GUI to configuration file.