forked from openlp/openlp
Bug 634771 - Check for no recent files
This commit is contained in:
parent
81a1cfc815
commit
d549935fa8
@ -632,6 +632,8 @@ class ServiceManager(QtGui.QWidget):
|
||||
|
||||
def onLoadService(self, lastService=False):
|
||||
if lastService:
|
||||
if not self.parent.recentFiles:
|
||||
return
|
||||
filename = self.parent.recentFiles[0]
|
||||
else:
|
||||
filename = QtGui.QFileDialog.getOpenFileName(
|
||||
|
Loading…
Reference in New Issue
Block a user