fixed lower case on some settings

This commit is contained in:
Andreas Preikschat 2013-01-30 19:24:41 +01:00
parent af1000bc4d
commit 320b692db7
1 changed files with 2 additions and 1 deletions

View File

@ -921,7 +921,8 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
# Write all the sections and keys.
for section_key in keys:
# FIXME: We are conflicting with the standard "General" section.
section_key = section_key.lower()
if u'eneral' in section_key:
section_key = section_key.lower()
key_value = settings.value(section_key)
if key_value is not None:
export_settings.setValue(section_key, key_value)