forked from openlp/openlp
replaced other file masks
This commit is contained in:
parent
8df2a6af32
commit
e2c81aaf00
@ -662,7 +662,7 @@ class AdvancedTab(SettingsTab):
|
||||
u'background-color: %s' % self.defaultColor)
|
||||
|
||||
def onDefaultBrowseButtonClicked(self):
|
||||
file_filters = u'%s;;%s (*.*) (*)' % (get_images_filter(),
|
||||
file_filters = u'%s;;%s (*.*)' % (get_images_filter(),
|
||||
UiStrings().AllFiles)
|
||||
filename = QtGui.QFileDialog.getOpenFileName(self,
|
||||
translate('OpenLP.AdvancedTab', 'Open File'), '',
|
||||
|
@ -536,7 +536,7 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard):
|
||||
Background Image button pushed.
|
||||
"""
|
||||
images_filter = get_images_filter()
|
||||
images_filter = u'%s;;%s (*.*) (*)' % (
|
||||
images_filter = u'%s;;%s (*.*)' % (
|
||||
images_filter, UiStrings().AllFiles)
|
||||
filename = QtGui.QFileDialog.getOpenFileName(self,
|
||||
translate('OpenLP.ThemeWizard', 'Select Image'), u'',
|
||||
|
@ -62,7 +62,7 @@ class ImageMediaItem(MediaManagerItem):
|
||||
self.onNewPrompt = translate('ImagePlugin.MediaItem',
|
||||
'Select Image(s)')
|
||||
file_formats = get_images_filter()
|
||||
self.onNewFileMasks = u'%s;;%s (*.*) (*)' % (file_formats,
|
||||
self.onNewFileMasks = u'%s;;%s (*.*)' % (file_formats,
|
||||
UiStrings().AllFiles)
|
||||
self.replaceAction.setText(UiStrings().ReplaceBG)
|
||||
self.replaceAction.setToolTip(UiStrings().ReplaceLiveBG)
|
||||
|
Loading…
Reference in New Issue
Block a user