mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 22:26:29 +01:00
fix latency-measurement dialog back-button.
This commit is contained in:
parent
c18826b858
commit
1a68b43ee8
1 changed files with 3 additions and 7 deletions
|
|
@ -544,9 +544,12 @@ EngineControl::enable_latency_tab ()
|
|||
return;
|
||||
}
|
||||
|
||||
lm_back_button_signal.disconnect();
|
||||
if (_measure_midi) {
|
||||
lm_back_button_signal = lm_back_button.signal_clicked().connect (sigc::bind (sigc::mem_fun (notebook, &Gtk::Notebook::set_current_page), midi_tab));
|
||||
lm_preamble.set_markup (_(""));
|
||||
} else {
|
||||
lm_back_button_signal = lm_back_button.signal_clicked().connect (sigc::bind (sigc::mem_fun (notebook, &Gtk::Notebook::set_current_page), 0));
|
||||
lm_preamble.set_markup (_("<span weight=\"bold\">Turn down the volume on your audio equipment to a very low level.</span>"));
|
||||
}
|
||||
|
||||
|
|
@ -1955,13 +1958,6 @@ EngineControl::start_latency_detection ()
|
|||
lm_output_channel_combo.set_sensitive (false);
|
||||
lm_running = true;
|
||||
}
|
||||
|
||||
lm_back_button_signal.disconnect();
|
||||
if (_measure_midi) {
|
||||
lm_back_button_signal = lm_back_button.signal_clicked().connect (sigc::bind (sigc::mem_fun (notebook, &Gtk::Notebook::set_current_page), midi_tab));
|
||||
} else {
|
||||
lm_back_button_signal = lm_back_button.signal_clicked().connect (sigc::bind (sigc::mem_fun (notebook, &Gtk::Notebook::set_current_page), 0));
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue