mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[pyqgis-console] fix autocompletion in editor after 6e19748
This commit is contained in:
parent
a996365706
commit
aebf27eb0e
@ -240,7 +240,8 @@ class Editor(QsciScintilla):
|
||||
chekBoxAPI = self.settings.value("pythonConsole/preloadAPI", True, type=bool)
|
||||
chekBoxPreparedAPI = self.settings.value("pythonConsole/usePreparedAPIFile", False, type=bool)
|
||||
if chekBoxAPI:
|
||||
self.api.loadPrepared(QgsApplication.pkgDataPath() + "/python/qsci_apis/pyqgis_master.pap")
|
||||
pap = os.path.join(QgsApplication.pkgDataPath(), "python", "qsci_apis", "pyqgis.pap")
|
||||
self.api.loadPrepared(pap)
|
||||
elif chekBoxPreparedAPI:
|
||||
self.api.loadPrepared(self.settings.value("pythonConsole/preparedAPIFile"))
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user