mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fix of the "dock" menu on OSX to start a new instance of PrusaSlicer
in case a single instance is disabled. Make the "single_instance" enabled by default on OSX initially to match the platform.
This commit is contained in:
parent
570f7b648e
commit
7896de892b
3 changed files with 12 additions and 3 deletions
|
@ -74,7 +74,13 @@ void AppConfig::set_defaults()
|
|||
#endif
|
||||
|
||||
if (get("single_instance").empty())
|
||||
set("single_instance", "0");
|
||||
set("single_instance",
|
||||
#ifdef __APPLE__
|
||||
"1"
|
||||
#else __APPLE__
|
||||
"0"
|
||||
#endif __APPLE__
|
||||
);
|
||||
|
||||
if (get("remember_output_path").empty())
|
||||
set("remember_output_path", "1");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue