Bug 634771 - Check for no recent files

This commit is contained in:
Jonathan Corwin 2010-09-10 18:49:22 +01:00
parent 81a1cfc815
commit d549935fa8

View File

@ -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(