do not test for gobj() being null when deciding if _size_menu exists

This test was added because of confusion about when/where dynamically constructed menus
were constructed and deleted. This should be consistent now, and this additional check
(on top of _size_menu itself being null) should be unnecessary
This commit is contained in:
Paul Davis 2021-05-13 10:27:57 -06:00
parent 95c674e3be
commit 798b968610
1 changed files with 1 additions and 1 deletions

View File

@ -1358,7 +1358,7 @@ TimeAxisView::get_child_list () const
void
TimeAxisView::build_size_menu ()
{
if (_size_menu && _size_menu->gobj ()) {
if (_size_menu) {
return;
}