get editor controls layout/midi track header/scroomer to be the correct height

Using is_mapped() is wrong, since if the editor was not visible (i.e. program has not yet shown the editor
"tab", then _group_tabs will have is_visible() == true but is_mapped() == false
This commit is contained in:
Paul Davis 2016-04-13 15:28:27 -04:00
parent 1b097d57bd
commit bf3719f63f

View file

@ -313,7 +313,7 @@ Editor::reset_controls_layout_width ()
edit_controls_vbox.size_request (req);
w = req.width;
if (_group_tabs->is_mapped()) {
if (_group_tabs->is_visible()) {
_group_tabs->size_request (req);
w += req.width;
}