Fix new Node dialog Create button behavior

Added a one-liner to update the Create button disabled state when
selecting an item from the search results list.

Fixes #17265, long live the Realm!

(cherry picked from commit 68a4241131)
This commit is contained in:
Ivan Vodopiviz 2018-03-04 23:27:18 +01:00 committed by Hein-Pieter van Braam
parent e7837828f6
commit 7645c539c8
1 changed files with 2 additions and 0 deletions

View File

@ -476,6 +476,8 @@ void CreateDialog::_item_selected() {
return; return;
help_bit->set_text(EditorHelp::get_doc_data()->class_list[name].brief_description); help_bit->set_text(EditorHelp::get_doc_data()->class_list[name].brief_description);
get_ok()->set_disabled(false);
} }
void CreateDialog::_favorite_toggled() { void CreateDialog::_favorite_toggled() {