574 |
574 |
575 def __clearHistory(self): |
575 def __clearHistory(self): |
576 """ |
576 """ |
577 Private slot to clear the current history. |
577 Private slot to clear the current history. |
578 """ |
578 """ |
579 self.history = [] |
579 if self.clientType: |
|
580 self.historyLists[self.clientType] = [] |
|
581 self.history = self.historyLists[self.clientType] |
|
582 else: |
|
583 self.history = [] |
|
584 self.histidx = -1 |
580 |
585 |
581 def __selectHistory(self): |
586 def __selectHistory(self): |
582 """ |
587 """ |
583 Private slot to select a history entry to execute. |
588 Private slot to select a history entry to execute. |
584 """ |
589 """ |