Skip to content
Permalink
Browse files

[pyqgis-console][fixes #8230] adds a missing default value in settings

  • Loading branch information
slarosa committed Jul 8, 2013
1 parent c5e110d commit c735d1a068b83c979de7138f6a35f884066b013d
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/console/console_settings.py
@@ -183,9 +183,9 @@ def restoreSettings(self):
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)):

0 comments on commit c735d1a

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