mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Remove tempo-map cut/copy section warning
This commit is contained in:
parent
d064a2ead1
commit
964600b9bd
1 changed files with 0 additions and 16 deletions
|
|
@ -2710,22 +2710,6 @@ Editor::cut_copy_section (ARDOUR::SectionOperation const op)
|
|||
if (!get_selection_extents (start, end) || !_session) {
|
||||
return;
|
||||
}
|
||||
#if 0
|
||||
TempoMap::SharedPtr tmap (TempoMap::use());
|
||||
if ((tmap->tempos ().size () > 1 || tmap->meters ().size () > 1 || tmap->bartimes ().size () > 1) && UIConfiguration::instance().get_ask_cut_copy_section_tempo_map ()) {
|
||||
ArdourMessageDialog msg (_("Cut/Copy Section does not yet include the Tempo Map\nDo you still want to proceed?"), false, MESSAGE_QUESTION, BUTTONS_YES_NO, true) ;
|
||||
msg.set_title (_("Cut/Copy without Tempo Map"));
|
||||
Gtk::CheckButton cb (_("Do not show this dialog again."));
|
||||
msg.get_vbox()->pack_start (cb);
|
||||
cb.show ();
|
||||
if (msg.run () != RESPONSE_YES) {
|
||||
return;
|
||||
}
|
||||
if (cb.get_active ()) {
|
||||
UIConfiguration::instance().set_ask_cut_copy_section_tempo_map (false);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
timepos_t to (get_preferred_edit_position ());
|
||||
_session->cut_copy_section (start, end, to, op);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue