mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-26 00:17:49 +01:00
[Summary] Now, if the root node of XML has UI.NEEDINIT="true", all it's attributes for GTK will be applied to the root Gtk::Container
This commit is contained in:
parent
68c5c24f50
commit
ee51f29f24
1 changed files with 3 additions and 0 deletions
|
|
@ -576,6 +576,9 @@ WavesUI::create_ui (const XMLTree& layout, Gtk::Container& root)
|
|||
XMLNodeMap styles;
|
||||
get_styles(layout, styles);
|
||||
const XMLNodeList& definition = layout.root ()->children();
|
||||
if (xml_property (*layout.root (), "UI.NEEDINIT", styles, false)) {
|
||||
set_attributes(root, *layout.root (), styles);
|
||||
}
|
||||
WavesUI::create_ui (definition, styles, root);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue