Logo Search packages:      
Sourcecode: qct version File versions  Download package

def qctlib::gui_logic::CommitTool::__saveLogMessage (   self,
  logMessage 
) [private]

A new commit (or abort) has occurred, try to save the log message.
   If the message is a duplicate of a message already in the history,
   then move it to the top of the stack

Definition at line 579 of file gui_logic.py.

00579                                           :
        '''A new commit (or abort) has occurred, try to save the log message.
           If the message is a duplicate of a message already in the history,
           then move it to the top of the stack
        '''
        if logMessage != self.logTemplate:
            if logMessage in self.logHistory:
                self.logHistory.remove(logMessage)
            self.logHistory.append(logMessage)
            if len(self.logHistory) > self.maxHistCount:
                del self.logHistory[0]

    def __fillLogHistCombo(self):


Generated by  Doxygen 1.6.0   Back to index