Fix :debug-console with PyQt 5.6

This commit is contained in:
Florian Bruhin 2016-05-27 00:18:08 +02:00
parent 2fb5de8bd3
commit 29aedef420
2 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@ Fixed
- Don't display quit confirmation with finished downloads
- Fixed updating the tab index in the statusbar when opening a background tab
- Fixed a crash when entering `:-- ` in the commandline
- Fixed `:debug-console` with PyQt 5.6
v0.6.2
------

View File

@ -56,7 +56,7 @@ class ConsoleLineEdit(miscwidgets.CommandLineEdit):
self._history = cmdhistory.History(parent=self)
self.returnPressed.connect(self.on_return_pressed)
@pyqtSlot(str)
@pyqtSlot()
def on_return_pressed(self):
"""Execute the line of code which was entered."""
self._history.stop()