mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-27 08:57:41 +01:00
[Summary] Adding "activatesdefault" property for Gtk::Entry
This commit is contained in:
parent
67f80bc847
commit
d915c8e60e
1 changed files with 3 additions and 0 deletions
|
|
@ -839,6 +839,9 @@ WavesUI::set_attributes (Gtk::Widget& widget, const XMLNode& definition, const X
|
|||
if (!xml_property (definition, "hasframe", styles, true)) {
|
||||
entry->set_has_frame (false);
|
||||
}
|
||||
if (xml_property (definition, "activatesdefault", styles, false)) {
|
||||
entry->set_activates_default (true);
|
||||
}
|
||||
}
|
||||
|
||||
Gtk::Label* label = dynamic_cast<Gtk::Label*> (&widget);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue