This commit is contained in:
Jon Tibble 2011-03-04 14:44:21 +00:00
parent cec487be85
commit 2cd7c2c66e
2 changed files with 3 additions and 2 deletions

View File

@ -123,7 +123,7 @@ class ScreenList(object):
[u'Screen 1 (primary)', u'Screen 2']
"""
screen_list= []
screen_list = []
for screen in self.screen_list:
screen_name = u'%s %d' % (translate('OpenLP.ScreenList', 'Screen'),
screen[u'number'] + 1)

View File

@ -355,7 +355,8 @@ class SongExportForm(OpenLPWizard):
the path to *directoryLineEdit*.
"""
path = unicode(QtGui.QFileDialog.getExistingDirectory(self,
translate('SongsPlugin.ExportWizardForm', 'Select Destination Folder'),
translate('SongsPlugin.ExportWizardForm',
'Select Destination Folder'),
SettingsManager.get_last_dir(self.plugin.settingsSection, 1),
options=QtGui.QFileDialog.ShowDirsOnly))
SettingsManager.set_last_dir(self.plugin.settingsSection, path, 1)