Skip to content
Permalink
Browse files

[pyqgis-console] fix typo and indentation update

  • Loading branch information
slarosa committed May 5, 2013
1 parent 507756a commit eb47ff5d8a42093ebf65923eb3fe8d99369dad17
@@ -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
@@ -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)

@@ -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
@@ -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())
@@ -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()
@@ -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
@@ -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
@@ -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

0 comments on commit eb47ff5

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