Skip to content
Permalink
Browse files

[pyqgis-console] small fix for show/hide editor action

  • Loading branch information
slarosa committed Apr 28, 2013
1 parent 8565ef9 commit 195918293c7f27cbc763a3562da21f0ea42f478e
Showing with 2 additions and 3 deletions.
  1. +1 −2 python/console/console_editor.py
  2. +1 −1 python/console/console_output.py
@@ -379,8 +379,7 @@ def codepad(self):
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 @@ def hideToolBar(self):
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)

0 comments on commit 1959182

Please sign in to comment.
You can’t perform that action at this time.