fixed song import

This commit is contained in:
Andreas Preikschat 2012-12-27 18:06:11 +01:00
parent 0a57bed2f7
commit be2c62baf4
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ class SongImportForm(OpenLPWizard):
self.finishButton.setVisible(False) self.finishButton.setVisible(False)
self.cancelButton.setVisible(True) self.cancelButton.setVisible(True)
last_import_type = Settings().value( last_import_type = Settings().value(
u'songs/last import type') u'songs/last import type', SongFormat.OpenLyrics)
if last_import_type < 0 or \ if last_import_type < 0 or \
last_import_type >= self.formatComboBox.count(): last_import_type >= self.formatComboBox.count():
last_import_type = 0 last_import_type = 0