Skip to content
Permalink
Browse files

[console] return home directory as string instead of QDir instance (fix

  • Loading branch information
alexbruy committed Sep 12, 2017
1 parent b26b8d9 commit 999d93ad6e172786d916ccf70f4d7fa9ab929dba
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/console/console.py
@@ -629,7 +629,7 @@ def saveAsScriptFile(self, index=None):
index = self.tabEditorWidget.currentIndex()
if not tabWidget.path:
fileName = self.tabEditorWidget.tabText(index) + '.py'
folder = self.settings.value("pythonConsole/lastDirPath", QDir.home())
folder = self.settings.value("pythonConsole/lastDirPath", QDir.homePath())
pathFileName = os.path.join(folder, fileName)
fileNone = True
else:

0 comments on commit 999d93a

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