Skip to content

Commit

Permalink
[pyqgis-console] small fix for show/hide editor action
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Apr 28, 2013
1 parent 8565ef9 commit 1959182
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions python/console/console_editor.py
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion python/console/console_output.py
Expand Up @@ -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)
Expand Down

0 comments on commit 1959182

Please sign in to comment.