diff options
author | Doug McLain <doug@nostar.net> | 2008-01-05 10:00:32 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2008-01-05 10:00:32 +0000 |
commit | 56d529290af04cd70e66b914cfbe67fdd00ebaa0 (patch) | |
tree | 74fb5d94f2e5723b4be3fc685d548955a2ab8c2e /gtk2_ardour/editor_actions.cc | |
parent | c5e2ffa8a7d9e6602bb2025f2d3fdf689b608520 (diff) |
This fixes the gap left in between the controls layout and the track/time canvas when the meters are hidden or controls are shrunk for other reasons. The canvas resizes to fill in the gap
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2829 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_actions.cc')
-rw-r--r-- | gtk2_ardour/editor_actions.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index 7e5b4adca3..d376567e99 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -1374,6 +1374,7 @@ Editor::parameter_changed (const char* parameter_name) update_just_smpte (); } else if (PARAM_IS ("show-track-meters")) { toggle_meter_updating(); + track_canvas_allocate(track_canvas.get_allocation()); } else if (PARAM_IS ("link-region-and-track-selection")) { ActionManager::map_some_state ("Editor", "link-region-and-track-selection", &Configuration::get_link_region_and_track_selection); } |