#NEWLINE# def removeAction( self , action ) : #NEWLINE# #INDENT# if ( self . ownActions is not None ) : #NEWLINE# #INDENT# if self . ownActions . remove ( action ) : #NEWLINE# #INDENT# self . requestRepaint ( )