diff options
author | David Kocik <kocikdav@gmail.com> | 2022-01-06 16:58:39 +0300 |
---|---|---|
committer | David Kocik <kocikdav@gmail.com> | 2022-01-06 17:00:45 +0300 |
commit | 747cf8a0fe21545a6bf06171cb79c8c8bfb7ba7b (patch) | |
tree | 6961c6eda40e483f91b93a3314f4aaa8f261c410 /src/slic3r/GUI | |
parent | 9676b8adbfcf950716ee95fbeac5b6a20d967391 (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.cpp | 5 |
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 } } |