mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 13:15:44 +01:00
Use correct property names in Meterbridge::get_state()
These property names have been "normalized"/changed to use a hyphen in the XMLProperty ctor since 2008. That is before the Meterbridge existed so there should be no files existing that contain these properties with underscores.
This commit is contained in:
parent
c72e3f16a1
commit
3747d1688c
1 changed files with 4 additions and 4 deletions
|
|
@ -526,10 +526,10 @@ Meterbridge::get_state (void)
|
|||
}
|
||||
|
||||
XMLNode* geometry = new XMLNode ("geometry");
|
||||
geometry->set_property(X_("x_size"), m_width);
|
||||
geometry->set_property(X_("y_size"), m_height);
|
||||
geometry->set_property(X_("x_pos"), m_root_x);
|
||||
geometry->set_property(X_("y_pos"), m_root_y);
|
||||
geometry->set_property(X_("x-size"), m_width);
|
||||
geometry->set_property(X_("y-size"), m_height);
|
||||
geometry->set_property(X_("x-pos"), m_root_x);
|
||||
geometry->set_property(X_("y-pos"), m_root_y);
|
||||
node->add_child_nocopy (*geometry);
|
||||
|
||||
node->set_property ("show-meterbridge", _visible);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue