mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[pyqgis-console][fixes #8230] adds a missing default value in settings
This commit is contained in:
parent
c5e110d8f5
commit
c735d1a068
@ -183,9 +183,9 @@ class optionsDialog(QDialog, Ui_SettingsDialogPythonConsole):
|
||||
self.fontComboBox.setCurrentFont(QFont(settings.value("pythonConsole/fontfamilytext",
|
||||
"Monospace")))
|
||||
self.fontComboBoxEditor.setCurrentFont(QFont(settings.value("pythonConsole/fontfamilytextEditor",
|
||||
"Monospace")))
|
||||
"Monospace")))
|
||||
self.preloadAPI.setChecked(settings.value("pythonConsole/preloadAPI", True, type=bool))
|
||||
self.lineEdit.setText(settings.value("pythonConsole/preparedAPIFile"))
|
||||
self.lineEdit.setText(settings.value("pythonConsole/preparedAPIFile", "", type=str))
|
||||
itemTable = settings.value("pythonConsole/userAPI", [])
|
||||
if itemTable:
|
||||
for i in range(len(itemTable)):
|
||||
|
Loading…
x
Reference in New Issue
Block a user