mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
clean up GUIObjectState API, and use bools when setting "visible" property rather than string (not that it matters); don't unconditionally set visible to true unless a non-hidden track/bus has no visibility property already
git-svn-id: svn://localhost/ardour2/branches/3.0@9843 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
58a3d6c720
commit
6dc74f8c87
8 changed files with 72 additions and 72 deletions
|
|
@ -942,9 +942,9 @@ AutomationTimeAxisView::set_state_2X (const XMLNode& node, int /*version*/)
|
|||
if (yn) {
|
||||
_canvas_display->show (); /* FIXME: necessary? show_at? */
|
||||
}
|
||||
set_gui_property ("visible", (yn ? "yes" : "no"));
|
||||
set_gui_property ("visible", yn);
|
||||
} else {
|
||||
set_gui_property ("visible", "no");
|
||||
set_gui_property ("visible", false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue