forked from openlp/openlp
completely fixed recently file menu
This commit is contained in:
parent
3fa5422d7d
commit
c36475f27e
@ -1358,7 +1358,6 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
|
||||
existingRecentFiles = [recentFile for recentFile in self.recentFiles
|
||||
if os.path.isfile(unicode(recentFile))]
|
||||
recentFilesToDisplay = existingRecentFiles[0:recentFileCount]
|
||||
self.clearRecentFileMenu()
|
||||
self.recentFilesMenu.clear()
|
||||
for fileId, filename in enumerate(recentFilesToDisplay):
|
||||
log.debug('Recent file name: %s', filename)
|
||||
|
Loading…
Reference in New Issue
Block a user