Only update the OpenFileHandler if you're on macOS
This commit is contained in:
SiboVG 2022-06-16 16:50:33 +02:00
parent e562f14760
commit f15094bed6

View File

@ -216,7 +216,9 @@ public class SwingStartup {
Databases.fakeMethod();
// Set up the OSX file open handler here so that it can handle files that are opened when OR is not yet running.
OSXSetup.setupOSXOpenFileHandler();
if (SystemInfo.getPlatform() == Platform.MAC_OS) {
OSXSetup.setupOSXOpenFileHandler();
}
// Starting action (load files or open new document)
log.info("Opening main application window");