mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
make editor respond to track seleciton change again
This commit is contained in:
parent
5e76d8537b
commit
8ca53c4497
2 changed files with 14 additions and 2 deletions
|
|
@ -828,6 +828,8 @@ 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());
|
||||
|
|
@ -906,6 +908,14 @@ 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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -366,8 +366,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
|
|||
|
||||
/* fades */
|
||||
|
||||
void toggle_region_fades (int dir);
|
||||
void update_region_fade_visibility ();
|
||||
void toggle_region_fades (int dir);
|
||||
void update_region_fade_visibility ();
|
||||
|
||||
/* redirect shared ops menu. caller must free returned menu */
|
||||
|
||||
|
|
@ -1830,6 +1830,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
|
|||
|
||||
void setup_midi_toolbar ();
|
||||
|
||||
void presentation_info_changed (PBD::PropertyChange const &);
|
||||
|
||||
/* selection process */
|
||||
|
||||
Selection* selection;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue