#NEWLINE# def updateVersion( self , versionNumber ) : #NEWLINE# #INDENT# self . versionNumber = versionNumber #NEWLINE# if ( self . controller and ( self . versionNumber > ( - 1 ) ) ) : #NEWLINE# #INDENT# tagtext = self . controller . mshptrail . getTagForActionId ( self . versionNumber ) #NEWLINE# self . tagEdit . setText ( tagtext ) #NEWLINE# action = self . controller . mshptrail . actionMap [ self . versionNumber ] #NEWLINE# self . userEdit . setText ( action . user ) #NEWLINE# self . dateEdit . setText ( action . date ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . tagEdit . setEnabled ( False ) #NEWLINE# self . tagReset . setEnabled ( False ) #NEWLINE# self . tagEdit . setText ( '' ) #NEWLINE# self . userEdit . setText ( '' ) #NEWLINE# self . dateEdit . setText ( '' )