fixed settings

This commit is contained in:
Andreas Preikschat 2013-01-17 23:37:10 +01:00
parent b376c620bd
commit aa5f38624d
3 changed files with 3 additions and 4 deletions

View File

@ -235,7 +235,7 @@ class Settings(QtCore.QSettings):
# bibles/last directory 1 -> bibles/last directory backup # bibles/last directory 1 -> bibles/last directory backup
# themes/last directory -> themes/last directory import # themes/last directory -> themes/last directory import
# themes/last directory 1-> themes/last directory export # themes/last directory 1-> themes/last directory export
# songs/last directory 1 -> songs/last directory error log # songs/last directory 1 -> songs/last directory import
] ]
@staticmethod @staticmethod

View File

@ -361,7 +361,7 @@ class SongImportForm(OpenLPWizard):
Save the error report to a file. Save the error report to a file.
""" """
filename = QtGui.QFileDialog.getSaveFileName(self, filename = QtGui.QFileDialog.getSaveFileName(self,
Settings().value(self.plugin.settingsSection + u'last directory error log')) Settings().value(self.plugin.settingsSection + u'last directory import'))
if not filename: if not filename:
return return
report_file = codecs.open(filename, u'w', u'utf-8') report_file = codecs.open(filename, u'w', u'utf-8')

View File

@ -54,8 +54,7 @@ __default_settings__ = {
u'songs/search as type': False, u'songs/search as type': False,
u'songs/add song from service': True, u'songs/add song from service': True,
u'songs/display songbar': True, u'songs/display songbar': True,
u'songs/last directory import': u'', u'songs/last directory import': u''
u'songs/last directory error log': u''
} }