Add instance for :debug-console command.

This commit is contained in:
Florian Bruhin 2014-08-13 05:15:21 +02:00
parent 07fda5818c
commit 2a40002c2d

View File

@ -658,7 +658,7 @@ class Application(QApplication):
self._crashdlg = ReportDialog(pages, history, widgets, objects)
self._crashdlg.show()
@cmdutils.register(debug=True, name='debug-console')
@cmdutils.register(instance='', debug=True, name='debug-console')
def show_debugconsole(self):
"""Show the debugging console."""
self.debugconsole.show()