mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
fix [potential] double clock connection:
ARDOUR_UI::set_session() starts clocking for a given session. make sure ARDOUR_UI::parameter_changed() does not connect before the session is active.
This commit is contained in:
parent
0eeab54ad5
commit
05afeb03f7
1 changed files with 4 additions and 2 deletions
|
|
@ -398,8 +398,10 @@ ARDOUR_UI::parameter_changed (std::string p)
|
|||
secondary_clock->set_widget_name ("secondary");
|
||||
}
|
||||
} else if (p == "super-rapid-clock-update") {
|
||||
stop_clocking ();
|
||||
start_clocking ();
|
||||
if (_session) {
|
||||
stop_clocking ();
|
||||
start_clocking ();
|
||||
}
|
||||
} else if (p == "waveform-gradient-depth") {
|
||||
ArdourCanvas::WaveView::set_global_gradient_depth (config()->get_waveform_gradient_depth());
|
||||
} else if (p == "show-editor-meter") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue