Make _validate_property a multilevel method
This commit is contained in:
parent
fdc36ad082
commit
1a24c9e14b
135 changed files with 770 additions and 800 deletions
|
|
@ -2224,9 +2224,9 @@ Key LineEdit::_get_menu_action_accelerator(const String &p_action) {
|
|||
}
|
||||
}
|
||||
|
||||
void LineEdit::_validate_property(PropertyInfo &property) const {
|
||||
if (!caret_blink_enabled && property.name == "caret_blink_speed") {
|
||||
property.usage = PROPERTY_USAGE_NO_EDITOR;
|
||||
void LineEdit::_validate_property(PropertyInfo &p_property) const {
|
||||
if (!caret_blink_enabled && p_property.name == "caret_blink_speed") {
|
||||
p_property.usage = PROPERTY_USAGE_NO_EDITOR;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue