Add instance for :debug-console command.
This commit is contained in:
parent
07fda5818c
commit
2a40002c2d
@ -658,7 +658,7 @@ class Application(QApplication):
|
|||||||
self._crashdlg = ReportDialog(pages, history, widgets, objects)
|
self._crashdlg = ReportDialog(pages, history, widgets, objects)
|
||||||
self._crashdlg.show()
|
self._crashdlg.show()
|
||||||
|
|
||||||
@cmdutils.register(debug=True, name='debug-console')
|
@cmdutils.register(instance='', debug=True, name='debug-console')
|
||||||
def show_debugconsole(self):
|
def show_debugconsole(self):
|
||||||
"""Show the debugging console."""
|
"""Show the debugging console."""
|
||||||
self.debugconsole.show()
|
self.debugconsole.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user