Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kocik <kocikdav@gmail.com>2022-01-06 16:58:39 +0300
committerDavid Kocik <kocikdav@gmail.com>2022-01-06 17:00:45 +0300
commit747cf8a0fe21545a6bf06171cb79c8c8bfb7ba7b (patch)
tree6961c6eda40e483f91b93a3314f4aaa8f261c410 /src/slic3r/GUI
parent9676b8adbfcf950716ee95fbeac5b6a20d967391 (diff)
partial fix of #7583dk_mac_msg_send
Disabled sending of system message at shutdown on OSX Sierra and older.
Diffstat (limited to 'src/slic3r/GUI')
-rw-r--r--src/slic3r/GUI/InstanceCheck.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/slic3r/GUI/InstanceCheck.cpp b/src/slic3r/GUI/InstanceCheck.cpp
index 38ea95f2c..81d5e01fe 100644
--- a/src/slic3r/GUI/InstanceCheck.cpp
+++ b/src/slic3r/GUI/InstanceCheck.cpp
@@ -199,7 +199,10 @@ namespace instance_check_internal
//else
// BOOST_LOG_TRIVIAL(error) << "success delete lockfile " << path;
#ifdef __APPLE__
- send_message_mac_closing(GUI::wxGetApp().get_instance_hash_string(),GUI::wxGetApp().get_instance_hash_string());
+ // Partial fix of #7583
+ // On price of incorrect working of single instances on older OSX
+ if (wxPlatformInfo::Get().GetOSMajorVersion() > 12)
+ send_message_mac_closing(GUI::wxGetApp().get_instance_hash_string(),GUI::wxGetApp().get_instance_hash_string());
#endif
}
}