Wed, 24 Aug 2016 19:51:38 +0200
Fixed a bug in the shell related to clearing the current history.
QScintilla/Shell.py | file | annotate | diff | comparison | revisions |
--- a/QScintilla/Shell.py Thu Aug 18 17:34:05 2016 +0200 +++ b/QScintilla/Shell.py Wed Aug 24 19:51:38 2016 +0200 @@ -576,7 +576,12 @@ """ Private slot to clear the current history. """ - self.history = [] + if self.clientType: + self.historyLists[self.clientType] = [] + self.history = self.historyLists[self.clientType] + else: + self.history = [] + self.histidx = -1 def __selectHistory(self): """