forked from openlp/openlp
Lets use the value as it has been set
This commit is contained in:
parent
47d391457c
commit
4224e2441a
@ -621,7 +621,7 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
path = os.path.join(directory, default_filename)
|
path = os.path.join(directory, default_filename)
|
||||||
# SaveAs from osz to oszl is not valid as the files will be deleted
|
# SaveAs from osz to oszl is not valid as the files will be deleted
|
||||||
# on exit which is not sensible or usable in the long term.
|
# on exit which is not sensible or usable in the long term.
|
||||||
if self._fileName.endswith(u'oszl') or not self._fileName:
|
if self._fileName.endswith(u'oszl') or self.service_has_all_original_files:
|
||||||
fileName = QtGui.QFileDialog.getSaveFileName(self.mainwindow, UiStrings().SaveService, path,
|
fileName = QtGui.QFileDialog.getSaveFileName(self.mainwindow, UiStrings().SaveService, path,
|
||||||
translate('OpenLP.ServiceManager',
|
translate('OpenLP.ServiceManager',
|
||||||
'OpenLP Service Files (*.osz);; OpenLP Service Files - lite (*.oszl)'))
|
'OpenLP Service Files (*.osz);; OpenLP Service Files - lite (*.oszl)'))
|
||||||
|
Loading…
Reference in New Issue
Block a user