From f64441aa58ce5b17e2665be355b940633fde3c81 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 26 Feb 2017 18:21:48 +0100 Subject: remove method no longer needed Editor::track_selection_changed() is now invoked by EditorRoutes::sync_treeview_from_presentation_info(), AFTER the Selection has been updated --- gtk2_ardour/editor.cc | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gtk2_ardour/editor.cc') diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 351812aef4..3c41c2f49e 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -828,8 +828,6 @@ Editor::Editor () BasicUI::AccessAction.connect (*this, invalidator (*this), boost::bind (&Editor::access_action, this, _1, _2), gui_context()); - PresentationInfo::Change.connect (*this, invalidator (*this), boost::bind (&Editor::presentation_info_changed, this, _1), gui_context()); - /* handle escape */ ARDOUR_UI::instance()->Escape.connect (*this, invalidator (*this), boost::bind (&Editor::escape, this), gui_context()); @@ -905,14 +903,6 @@ Editor::~Editor() } } -void -Editor::presentation_info_changed (PropertyChange const & what_changed) -{ - if (what_changed.contains (Properties::selected)) { - track_selection_changed (); - } -} - XMLNode* Editor::button_settings () const { -- cgit v1.2.3