Revert broken old incomplete thought

This commit is contained in:
Jon Tibble 2011-12-02 22:23:37 +00:00
parent bd02fb5f30
commit 02f5e819fb

View File

@ -243,7 +243,8 @@ class AdvancedTab(SettingsTab):
file_filters = u'%s;;%s (*.*) (*)' % (get_images_filter(), file_filters = u'%s;;%s (*.*) (*)' % (get_images_filter(),
UiStrings().AllFiles) UiStrings().AllFiles)
filename = QtGui.QFileDialog.getOpenFileName(self, filename = QtGui.QFileDialog.getOpenFileName(self,
UiStrings.OpenFile, '', file_filters) translate('OpenLP.AdvancedTab', 'Open File'), '',
file_filters)
if filename: if filename:
self.defaultFileEdit.setText(filename) self.defaultFileEdit.setText(filename)
self.defaultFileEdit.setFocus() self.defaultFileEdit.setFocus()