From c2f5cef8a4bb92711ab0b2d104724817e0ef607e Mon Sep 17 00:00:00 2001
From: Vojtech Bubnik <bubnikv@gmail.com>
Date: Sat, 17 Oct 2020 12:56:53 +0200
Subject: [PATCH] Reverted the "single_instance" condition check, David thinks
 the old way is correct.

---
 src/slic3r/GUI/MainFrame.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp
index 05db7470c..ba1fd56c7 100644
--- a/src/slic3r/GUI/MainFrame.cpp
+++ b/src/slic3r/GUI/MainFrame.cpp
@@ -56,9 +56,10 @@ public:
     PrusaSlicerTaskBarIcon(wxTaskBarIconType iconType = wxTBI_DEFAULT_TYPE) : wxTaskBarIcon(iconType) {}
     wxMenu *CreatePopupMenu() override {
         wxMenu *menu = new wxMenu;
-        if(wxGetApp().app_config->get("single_instance") == "0") {
+        if(wxGetApp().app_config->get("single_instance") == "1") {
             // Only allow opening a new PrusaSlicer instance on OSX if "single_instance" is disabled, 
             // as starting new instances would interfere with the locking mechanism of "single_instance" support.
+            //FIXME Vojtech thinks the condition is wrong.
             append_menu_item(menu, wxID_ANY, _L("Open new instance"), _L("Open a new PrusaSlicer instance"),
             [this](wxCommandEvent&) { start_new_slicer(); }, "", nullptr);
         }