Merge pull request #24270 from YeldhamDev/search_help_blocked_fix
Fix "blocked > 0" error when selecting an item in the Search Help dialog
This commit is contained in:
commit
21593ff5bb
|
@ -130,7 +130,7 @@ void EditorHelpSearch::_notification(int p_what) {
|
||||||
} break;
|
} break;
|
||||||
case NOTIFICATION_POPUP_HIDE: {
|
case NOTIFICATION_POPUP_HIDE: {
|
||||||
|
|
||||||
results_tree->clear();
|
results_tree->call_deferred("clear"); // Wait for the Tree's mouse event propagation.
|
||||||
get_ok()->set_disabled(true);
|
get_ok()->set_disabled(true);
|
||||||
EditorSettings::get_singleton()->set_project_metadata("dialog_bounds", "search_help", get_rect());
|
EditorSettings::get_singleton()->set_project_metadata("dialog_bounds", "search_help", get_rect());
|
||||||
} break;
|
} break;
|
||||||
|
|
Loading…
Reference in New Issue