mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[pyqgis-console] small fix for show/hide editor action
This commit is contained in:
parent
8565ef95d9
commit
195918293c
@ -379,8 +379,7 @@ class Editor(QsciScintilla):
|
||||
self.parent.pc.callWidgetMessageBarEditor(msgText + str(e.args))
|
||||
|
||||
def hideEditor(self):
|
||||
self.parent.pc.widgetEditor.hide()
|
||||
self.parent.pc.listClassMethod.hide()
|
||||
self.parent.pc.splitterObj.hide()
|
||||
self.parent.pc.showEditorButton.setChecked(False)
|
||||
|
||||
def commentEditorCode(self, commentCheck):
|
||||
|
@ -214,7 +214,7 @@ class ShellOutputScintilla(QsciScintilla):
|
||||
self.shell.setFocus()
|
||||
|
||||
def showEditor(self):
|
||||
Ed = self.parent.widgetEditor
|
||||
Ed = self.parent.splitterObj
|
||||
if not Ed.isVisible():
|
||||
Ed.show()
|
||||
self.parent.showEditorButton.setChecked(True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user