Merge pull request #14702 from YeldhamDev/property_multiline

Made multiline property editor deselect text when opening
This commit is contained in:
Rémi Verschelde 2017-12-16 10:49:21 +01:00 committed by GitHub
commit 9b334389a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -551,6 +551,7 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant::
text_edit->show();
text_edit->set_text(v);
text_edit->deselect();
int button_margin = get_constant("button_margin", "Dialogs");
int margin = get_constant("margin", "Dialogs");