def team_settings_edit_event(self, value=None):
        """
        Handles the events when editing a value regarding the team settings
        :param value: the new value to store in the config
        :return:
        """
        sender = self.sender()
        if value is None:
            value = sender.text()

        if sender is self.blue_name_lineedit:
            self.overall_config.set_value(TEAM_CONFIGURATION_HEADER, "Team Blue Name", value)
        elif sender is self.orange_name_lineedit:
            self.overall_config.set_value(TEAM_CONFIGURATION_HEADER, "Team Orange Name", value)
        elif sender is self.blue_color_spinbox:
            self.overall_config.set_value(TEAM_CONFIGURATION_HEADER, "Team Blue Color", value)
        elif sender is self.orange_color_spinbox:
            self.overall_config.set_value(TEAM_CONFIGURATION_HEADER, "Team Orange Color", value)

        if self.cfg_autosave_checkbutton.isChecked() and os.path.isfile(self.overall_config_path):
            self.save_overall_config(10)
def team_settings_edit_event ( self , value = None ) : sender = self . sender ( ) if value is None : value = sender . text ( ) if sender is self . blue_name_lineedit : self . overall_config . set_value ( TEAM_CONFIGURATION_HEADER , "Team Blue Name" , value ) elif sender is self . orange_name_lineedit : self . overall_config . set_value ( TEAM_CONFIGURATION_HEADER , "Team Orange Name" , value ) elif sender is self . blue_color_spinbox : self . overall_config . set_value ( TEAM_CONFIGURATION_HEADER , "Team Blue Color" , value ) elif sender is self . orange_color_spinbox : self . overall_config . set_value ( TEAM_CONFIGURATION_HEADER , "Team Orange Color" , value ) if self . cfg_autosave_checkbutton . isChecked ( ) and os . path . isfile ( self . overall_config_path ) : self . save_overall_config ( 10 )
Handles the events when editing a value regarding the team settings
        :param value: the new value to store in the config
        :return: