summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-11-29 16:27:37 +0100
committerRobin Gareus <robin@gareus.org>2019-11-29 16:27:37 +0100
commit5fb83da69cd22cdb8f925f00c550b854153b84f4 (patch)
treef37f1f0f7fef77cf8be652437d696548a9123c97 /gtk2_ardour/rc_option_editor.cc
parent279faad75c8c3dbbeac52ce98753872f5f792b48 (diff)
Use a detached window for Preferences at first run
Once a user explicitly attaches the Window as Tab, we expect the user to know about tabbing, tab-cycling, related window/tab actions, and relevant shortcuts. Otherwise it can confusing: https://discourse.ardour.org/t/cant-get-out-of-preferences/102147
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index d6e221f328..dea14301f2 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -2104,16 +2104,12 @@ MidiPortOptions::pretty_name_edit (std::string const & path, string const & new_
AudioEngine::instance()->set_port_pretty_name ((*iter)[midi_port_columns.fullname], new_text);
}
-/*============*/
RCOptionEditor::RCOptionEditor ()
: OptionEditorContainer (Config, string_compose (_("%1 Preferences"), PROGRAM_NAME))
- , Tabbable (*this, _("Preferences")
-#ifdef MIXBUS
- , false // detached by default (first start, no instant.xml)
-#endif
- ) /* pack self-as-vbox into tabbable */
+ /* pack self-as-vbox into tabbable */
+ , Tabbable (*this, _("Preferences"), /* detached by default */ false)
, _rc_config (Config)
, _mixer_strip_visibility ("mixer-element-visibility")
{