#NEWLINE# def field_changed( self , config_key , field , val , orig_val ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# val = field . from_string ( val ) #NEWLINE# if ( config_key [ 0 ] not in self . _changed_config ) : #NEWLINE# #INDENT# self . _changed_config [ config_key [ 0 ] ] = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# self . _changed_config [ config_key [ 0 ] ] [ config_key [ 1 ] ] = val #NEWLINE# self . _changed_fields [ config_key ] = field #NEWLINE# self . fieldChanged . emit ( self ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# widget = self . field_widgets [ config_key ] #NEWLINE# self . set_value ( widget , field , orig_val )