diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-10-18 18:51:45 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2019-08-01 12:11:31 -0500 |
commit | 375a09029535bd76afa0d76c74278a77805c9417 (patch) | |
tree | 2b5d29a13cb841b780dec28ed0e97cb2436b2ec5 /gtk2_ardour/editor_sources.cc | |
parent | b1019bbbf622cf2c12b76fca445ccd89c46c30c9 (diff) |
(Source List) Make clock change func more explicit.
Diffstat (limited to 'gtk2_ardour/editor_sources.cc')
-rw-r--r-- | gtk2_ardour/editor_sources.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk2_ardour/editor_sources.cc b/gtk2_ardour/editor_sources.cc index 5834aa4eaf..3ba9468c49 100644 --- a/gtk2_ardour/editor_sources.cc +++ b/gtk2_ardour/editor_sources.cc @@ -200,10 +200,7 @@ EditorSources::EditorSources (Editor* e) _display.signal_enter_notify_event().connect (sigc::mem_fun (*this, &EditorSources::enter_notify), false); _display.signal_leave_notify_event().connect (sigc::mem_fun (*this, &EditorSources::leave_notify), false); - // _display.signal_popup_menu().connect (sigc::bind (sigc::mem_fun (*this, &Editor::show__display_context_menu), 1, 0)); - - //ARDOUR_UI::instance()->secondary_clock.mode_changed.connect (sigc::mem_fun(*this, &Editor::redisplay_regions)); - ARDOUR_UI::instance()->primary_clock->mode_changed.connect (sigc::mem_fun(*this, &EditorSources::update_all_rows)); + ARDOUR_UI::instance()->primary_clock->mode_changed.connect (sigc::mem_fun(*this, &EditorSources::clock_format_changed)); e->EditorFreeze.connect (editor_freeze_connection, MISSING_INVALIDATOR, boost::bind (&EditorSources::freeze_tree_model, this), gui_context()); e->EditorThaw.connect (editor_thaw_connection, MISSING_INVALIDATOR, boost::bind (&EditorSources::thaw_tree_model, this), gui_context()); @@ -460,7 +457,7 @@ EditorSources::selection_changed () } void -EditorSources::update_all_rows () +EditorSources::clock_format_changed () { TreeModel::iterator i; TreeModel::Children rows = _model->children(); |