Make :debug-console toggle the console.
This commit is contained in:
parent
2ef2e3088f
commit
8faf4717e5
@ -152,6 +152,10 @@ def debug_console():
|
||||
except KeyError:
|
||||
con_widget = consolewidget.ConsoleWidget()
|
||||
objreg.register('debug-console', con_widget)
|
||||
|
||||
if con_widget.isVisible():
|
||||
con_widget.hide()
|
||||
else:
|
||||
con_widget.show()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user