mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 05:37:52 -06:00
Added dialog to choose import action when dragging and dropping a project file
This commit is contained in:
parent
e93b84e2a6
commit
808c43cb4b
3 changed files with 116 additions and 29 deletions
|
@ -117,6 +117,13 @@ void PreferencesDialog::build()
|
|||
option = Option(def, "show_incompatible_presets");
|
||||
m_optgroup_general->append_single_option_line(option);
|
||||
|
||||
def.label = L("Show drop project dialog");
|
||||
def.type = coBool;
|
||||
def.tooltip = L("When checked, whenever dragging and dropping a project file on the application, shows a dialog asking to select the action to take on the file to load.");
|
||||
def.set_default_value(new ConfigOptionBool{ app_config->get("show_drop_project_dialog") == "1" });
|
||||
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__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue