def toggle_auto_import(self, checked):
        """Toggle automatic import feature"""
        self.combo.validate_current_text()
        self.set_option('automatic_import', checked)
        self.force_refresh()
def toggle_auto_import ( self , checked ) : self . combo . validate_current_text ( ) self . set_option ( 'automatic_import' , checked ) self . force_refresh ( )
Toggle automatic import feature