Fix text area implicit scrolling
This commit is contained in:
parent
c1d03887b4
commit
dcab587f33
1 changed files with 2 additions and 0 deletions
2
convo.py
2
convo.py
|
@ -579,6 +579,8 @@ class PesterInput(QtGui.QLineEdit):
|
|||
prev = self.parent().history.prev()
|
||||
if prev is not None:
|
||||
self.setText(prev)
|
||||
elif event.key() in [QtCore.Qt.Key_PageUp, QtCore.Qt.Key_PageDown]:
|
||||
self.parent().textArea.keyPressEvent(event)
|
||||
self.parent().mainwindow.idler.time = 0
|
||||
super(PesterInput, self).keyPressEvent(event)
|
||||
|
||||
|
|
Loading…
Reference in a new issue