diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 89cb1e2d5..6299cc0ed 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -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