mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
[Summary] Fix bug with initial value of the track's height
[Reviewed] GZharun
This commit is contained in:
parent
6f215a3537
commit
8b154ba61e
1 changed files with 4 additions and 3 deletions
|
|
@ -3757,9 +3757,10 @@ Editor::set_visible_track_count (int32_t n)
|
|||
return;
|
||||
}
|
||||
|
||||
for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) {
|
||||
(*i)->set_height (h);
|
||||
}
|
||||
// NP: track's height is inited from .xml
|
||||
// for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) {
|
||||
// (*i)->set_height (h);
|
||||
// }
|
||||
|
||||
if (str != visible_tracks_selector.get_active_text()) {
|
||||
visible_tracks_selector.set_active_text (str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue