From 964600b9bdc5445bec553ca57fedb07c8c165918 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 11 Sep 2023 23:04:00 +0200 Subject: [PATCH] Remove tempo-map cut/copy section warning --- gtk2_ardour/editor_ops.cc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 8e17688c27..1bc7c3f83c 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -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);