forked from openlp/openlp
Merge branch 'issue-943-recent-files-bug' into 'master'
Fix issue #943 by typecasting to Path objects Closes #943 See merge request openlp/openlp!395
This commit is contained in:
commit
235fd9244f
@ -1290,6 +1290,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow, LogMixin, RegistryPropert
|
||||
self.recent_files_menu.clear()
|
||||
count = 0
|
||||
for recent_path in self.recent_files:
|
||||
recent_path = Path(recent_path)
|
||||
if not recent_path.is_file():
|
||||
continue
|
||||
count += 1
|
||||
|
Loading…
Reference in New Issue
Block a user