diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 2313e4705..f2389908d 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -635,7 +635,8 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow, LogMixin, RegistryPropert # if self.live_controller.display.isVisible(): # self.live_controller.display.setFocus() self.activateWindow() - if self.application.args: + # We will aloways have 1 but more need to be processed + if self.application.args and len(self.application.args) > 1: self.open_cmd_line_files(self.application.args) elif Settings().value(self.general_settings_section + '/auto open'): self.service_manager_contents.load_last_file()