Skip to content

Commit

Permalink
[pyqgis-console] fix typo and indentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed May 5, 2013
1 parent 507756a commit eb47ff5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions python/console/console.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding:utf-8 -*-
"""
/***************************************************************************
Python Conosle for QGIS
Python Console for QGIS
-------------------
begin : 2012-09-10
copyright : (C) 2012 by Salvatore Larosa
Expand Down Expand Up @@ -651,7 +651,7 @@ def saveScriptFile(self):
tabWidget.save()
except (IOError, OSError), e:
errTr = QCoreApplication.translate("PythonConsole", "Save Error")
msgErrTr = QCoreApplication.translate("PythonConsole",
msgErrTr = QCoreApplication.translate("PythonConsole",
"Failed to save %1: %2").arg(tabWidget.path, e)
QMessageBox.warning(self, errTr, msgErrTr)

Expand Down
6 changes: 3 additions & 3 deletions python/console/console_editor.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding:utf-8 -*-
"""
/***************************************************************************
Python Conosle for QGIS
Python Console for QGIS
-------------------
begin : 2012-09-10
copyright : (C) 2012 by Salvatore Larosa
Expand Down Expand Up @@ -786,7 +786,7 @@ def __init__(self, parent):
self.newTabButton.setIconSize(QSize(24, 24))
self.setCornerWidget(self.newTabButton, Qt.TopLeftCorner)
self.connect(self.newTabButton, SIGNAL('clicked()'), self.newTabEditor)

def contextMenuEvent(self, e):
tabBar = self.tabBar()
self.idx = tabBar.tabAt(e.pos())
Expand Down Expand Up @@ -815,7 +815,7 @@ def contextMenuEvent(self, e):
closeAllTabAction.setEnabled(True)
closeOthersTabAction.setEnabled(True)
action = menu.exec_(self.mapToGlobal(e.pos()))

def closeOthers(self):
idx = self.idx
countTab = self.count()
Expand Down
2 changes: 1 addition & 1 deletion python/console/console_output.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding:utf-8 -*-
"""
/***************************************************************************
Python Conosle for QGIS
Python Console for QGIS
-------------------
begin : 2012-09-10
copyright : (C) 2012 by Salvatore Larosa
Expand Down
2 changes: 1 addition & 1 deletion python/console/console_sci.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding:utf-8 -*-
"""
/***************************************************************************
Python Conosle for QGIS
Python Console for QGIS
-------------------
begin : 2012-09-10
copyright : (C) 2012 by Salvatore Larosa
Expand Down
2 changes: 1 addition & 1 deletion python/console/console_settings.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding:utf-8 -*-
"""
/***************************************************************************
Python Conosle for QGIS
Python Console for QGIS
-------------------
begin : 2012-09-10
copyright : (C) 2012 by Salvatore Larosa
Expand Down

0 comments on commit eb47ff5

Please sign in to comment.