Compare commits

..

No commits in common. "0709c20adb88b587bc659f0b3c6d0a57b60ebdb7" and "460b9a24ff0726039288b1a67d55bff2f299c8d6" have entirely different histories.

5 changed files with 5 additions and 11 deletions

View File

@ -1812,7 +1812,6 @@ Editor::parameter_changed (std::string p)
queue_redisplay_track_views ();
} else if (p == "default-time-domain") {
stretch_marker_cb.set_sensitive (_session->config.get_default_time_domain () == Temporal::BeatTime);
restore_ruler_visibility(); /* NOTE: if user has explicitly set rulers then this will have no effect */
}
}

View File

@ -2388,12 +2388,6 @@ RCOptionEditor::RCOptionEditor ()
_("When opening an existing session, if the most recent audio engine is available and can open the session's sample rate, the audio engine dialog may be skipped."));
add_option (_("General"), bo );
#if 0
/* "preferred-time-domain"
unlike other preferences, this variable would not actually 'change' anything; the session's domain is stored in session-config
so we don't show the rc-config value here. instead, it is invisibly stored in the rc-config, with the user's most recent selection */
#endif
add_option (_("General"), new OptionEditorHeading (S_("Options|Editor Undo")));
add_option (_("General"), new UndoOptions (_rc_config));

View File

@ -676,7 +676,11 @@ SessionDialog::setup_new_session_page ()
timebase_chooser.append (_("Audio Time"));
timebase_chooser.append (_("Beat Time"));
timebase_chooser.set_active (Config->get_preferred_time_domain() == Temporal::BeatTime ? 1 : 0);
#ifdef MIXBUS
timebase_chooser.set_active (1);
#else
timebase_chooser.set_active (0);
#endif
//Template & Template Description area
HBox* template_hbox = manage (new HBox);

View File

@ -30,8 +30,6 @@
the value of the variable.
*****************************************************/
CONFIG_VARIABLE (Temporal::TimeDomain, preferred_time_domain, "preferred_time_domain", Temporal::BeatTime)
/* IO connection */
CONFIG_VARIABLE (bool, auto_connect_standard_busses, "auto-connect-standard-busses", true)

View File

@ -4588,7 +4588,6 @@ Session::config_changed (std::string p, bool ours)
Temporal::TimeDomain td = config.get_default_time_domain ();
std::cerr << "Setting time domain\n";
set_time_domain (td);
Config->set_preferred_time_domain(td); /* sync the global default time domain to this newly chosen one */
}
set_dirty ();