mirror of
https://github.com/godotengine/godot.git
synced 2025-02-11 22:35:15 +08:00
Made multiline property editor deselect text when opening.
This commit is contained in:
parent
f25d9a54ce
commit
e73486aed4
@ -551,6 +551,7 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant::
|
|||||||
|
|
||||||
text_edit->show();
|
text_edit->show();
|
||||||
text_edit->set_text(v);
|
text_edit->set_text(v);
|
||||||
|
text_edit->deselect();
|
||||||
|
|
||||||
int button_margin = get_constant("button_margin", "Dialogs");
|
int button_margin = get_constant("button_margin", "Dialogs");
|
||||||
int margin = get_constant("margin", "Dialogs");
|
int margin = get_constant("margin", "Dialogs");
|
||||||
|
Loading…
Reference in New Issue
Block a user