forked from openlp/openlp
Fix issue #943 by typecasting to Path objects
This commit is contained in:
parent
9b1fb4fe9f
commit
efc32c9b1f
@ -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