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:
Rémi Verschelde 2018-12-11 12:18:04 +01:00 committed by GitHub
commit 21593ff5bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;