Skip to content

Commit

Permalink
[pyqgis-console] fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Apr 22, 2013
1 parent c0551a6 commit 4696e01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions python/console/console_editor.py
Expand Up @@ -722,12 +722,12 @@ def closeCurrentWidget(self):

def restoreTabs(self):
for script in self.restoreTabList:
pathFile = str(script.toString())
if os.path.exists(pathFile):
tabName = pathFile.split('/')[-1]
self.newTabEditor(tabName, pathFile)
else:
self.newTabEditor(filename=None)
pathFile = str(script.toString())
if os.path.exists(pathFile):
tabName = pathFile.split('/')[-1]
self.newTabEditor(tabName, pathFile)
else:
self.newTabEditor(filename=None)
self.topFrame.close()
self.enableToolBarEditor(True)

Expand Down

0 comments on commit 4696e01

Please sign in to comment.