summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-04-14 17:28:12 +0200
committerRobin Gareus <robin@gareus.org>2020-04-14 17:28:12 +0200
commite3e7d22c381ec502bfa0b8496bbf49de40b37826 (patch)
tree493b9c373c9449c499e2e283ec5e3f761ff7ecd2
parent26bb781ecd9a84965734275a6e3ccc987e2f6510 (diff)
Change default for embedding files via DnD
Man new users drag/drop files onto the canvas without being aware that Ardour only references external files. This can break sessions when those files [re]moved.
-rw-r--r--gtk2_ardour/rc_option_editor.cc2
-rw-r--r--gtk2_ardour/ui_config_vars.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index 7f9ef59464..02def3cc4e 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -2443,7 +2443,7 @@ RCOptionEditor::RCOptionEditor ()
add_option (_("General/Session"),
new BoolOption (
"only-copy-imported-files",
- _("Always copy imported files"),
+ _("Drag and drop import always copies files to session"),
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_only_copy_imported_files),
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_only_copy_imported_files)
));
diff --git a/gtk2_ardour/ui_config_vars.h b/gtk2_ardour/ui_config_vars.h
index f884d2a30a..1ecff7b1f7 100644
--- a/gtk2_ardour/ui_config_vars.h
+++ b/gtk2_ardour/ui_config_vars.h
@@ -46,7 +46,7 @@ UI_CONFIG_VARIABLE (std::string, keyboard_layout, "keyboard-layout", "ansi")
UI_CONFIG_VARIABLE (std::string, keyboard_layout_name, "keyboard-layout-name", "ansi")
UI_CONFIG_VARIABLE (std::string, default_bindings, "default-bindings", "ardour")
UI_CONFIG_VARIABLE (std::string, vkeybd_layout, "vkeybd-layout", "QWERTY Single")
-UI_CONFIG_VARIABLE (bool, only_copy_imported_files, "only-copy-imported-files", false)
+UI_CONFIG_VARIABLE (bool, only_copy_imported_files, "only-copy-imported-files", true)
UI_CONFIG_VARIABLE (bool, autoplay_files, "autoplay-files", false)
UI_CONFIG_VARIABLE (bool, default_narrow_ms, "default-narrow_ms", false)
UI_CONFIG_VARIABLE (bool, name_new_markers, "name-new-markers", false)