From b866ffad5dcb480d0b0422ce5c270f5f1d12918c Mon Sep 17 00:00:00 2001 From: daid Date: Mon, 25 Nov 2013 10:45:50 +0100 Subject: [PATCH] Prevent 2 instances of the same version starting on windows, and instead load the file in the previous instance trough UDP sockets. --- Cura/gui/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cura/gui/app.py b/Cura/gui/app.py index e557c2ec..106bdab1 100644 --- a/Cura/gui/app.py +++ b/Cura/gui/app.py @@ -22,7 +22,7 @@ class CuraApp(wx.App): self.mainWindow = None self.splash = None self.loadFiles = files - + if sys.platform.startswith('win') and len(files) > 0: #Check for an already running instance, if another instance is running load files in there from Cura.util import version -- 2.30.2