13
0

Assume axis views with no set visible property are visible.

Fixes #4197.


git-svn-id: svn://localhost/ardour2/branches/3.0@9905 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-07-19 17:14:45 +00:00
parent 82e4573227
commit 2e113872de

View File

@ -106,7 +106,8 @@ AxisView::gui_property (const string& property_name) const
bool
AxisView::marked_for_display () const
{
return string_is_affirmative (gui_property ("visible"));
string const v = gui_property ("visible");
return (v == "" || string_is_affirmative (v));
}
bool