From 25531d7c002fe90097e8eec252445fb57d88476c Mon Sep 17 00:00:00 2001 From: David Kocik Date: Fri, 11 Dec 2020 15:31:43 +0100 Subject: [PATCH] rename single instance setting in preferences --- src/slic3r/GUI/Preferences.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Preferences.cpp b/src/slic3r/GUI/Preferences.cpp index cdcd28695..4a608d247 100644 --- a/src/slic3r/GUI/Preferences.cpp +++ b/src/slic3r/GUI/Preferences.cpp @@ -156,11 +156,14 @@ void PreferencesDialog::build() option = Option(def, "show_drop_project_dialog"); m_optgroup_general->append_single_option_line(option); - def.label = L("Single instance mode"); - def.type = coBool; + #if __APPLE__ + def.label = L("Allow just single PrusaSlicer instance"); + def.type = coBool; def.tooltip = L("On OSX there is always only one instance of app running by default. However it is allowed to run multiple instances of same app from the command line. In such case this settings will allow only one instance."); #else + def.label = L("Allow just single PrusaSlicer instance"); + def.type = coBool; def.tooltip = L("If this is enabled, when starting PrusaSlicer and another instance of the same PrusaSlicer is already running, that instance will be reactivated instead."); #endif def.set_default_value(new ConfigOptionBool{ app_config->has("single_instance") ? app_config->get("single_instance") == "1" : false });