Skip to content
Permalink
Browse files

[pyqgis-console] fix autocompletion in editor after 6e19748

  • Loading branch information
slarosa committed Sep 8, 2013
1 parent a996365 commit aebf27eb0eb3ef94034b79333a43b648b048d44d
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/console/console_editor.py
@@ -240,7 +240,8 @@ def setLexers(self):
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:

0 comments on commit aebf27e

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