mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
Remove asterisk from file name when using Save As...
This commit is contained in:
parent
2ca025184f
commit
b8b2ceed95
@ -707,7 +707,7 @@ class PythonConsoleWidget(QWidget):
|
||||
if not index:
|
||||
index = self.tabEditorWidget.currentIndex()
|
||||
if not tabWidget.path:
|
||||
fileName = self.tabEditorWidget.tabText(index) + '.py'
|
||||
fileName = self.tabEditorWidget.tabText(index).replace('*', '') + '.py'
|
||||
folder = self.settings.value("pythonConsole/lastDirPath", QDir.homePath())
|
||||
pathFileName = os.path.join(folder, fileName)
|
||||
fileNone = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user