rename single instance setting in preferences
This commit is contained in:
parent
5580a77db4
commit
25531d7c00
@ -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 });
|
||||
|
Loading…
Reference in New Issue
Block a user