[Summary] Fix bug with initial value of the track's height

[Reviewed] GZharun
This commit is contained in:
nikolay 2014-08-04 13:50:47 +03:00
parent 6f215a3537
commit 8b154ba61e

View file

@ -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);