#NEWLINE# def remove_data_from_combo( self , data ) : #NEWLINE# #INDENT# ' Remove a data object from the combo box, if present ' #NEWLINE# combo = self . ui . displayDataCombo #NEWLINE# pos = combo . findText ( data . label ) #NEWLINE# if ( pos >= 0 ) : #NEWLINE# #INDENT# combo . removeItem ( pos )