#NEWLINE# def update_editor( self ) : #NEWLINE# #INDENT# 'Updates the editor when the object trait changes externally to the\n        editor.' #NEWLINE# if self . _no_notify : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . table_view . setUpdatesEnabled ( False ) #NEWLINE# try : #NEWLINE# #INDENT# filtering = ( ( len ( self . factory . filters ) > 0 ) or ( self . filter is not None ) ) #NEWLINE# if filtering : #NEWLINE# #INDENT# self . _update_filtering ( ) #NEWLINE# #UNINDENT# self . model . invalidate ( ) #NEWLINE# self . table_view . resizeColumnsToContents ( ) #NEWLINE# if self . auto_size : #NEWLINE# #INDENT# self . table_view . resizeRowsToContents ( ) #NEWLINE# #UNINDENT# #UNINDENT# finally : #NEWLINE# #INDENT# self . table_view . setUpdatesEnabled ( True )