Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Make the command palette rebuild when open.

Alfonso J. Ramos2426e135846d
diff --git a/editor/settings/editor_command_palette.cpp b/editor/settings/editor_command_palette.cpp
index 41c45a1e1c5..80d815c17b8 100644
--- a/editor/settings/editor_command_palette.cpp
+++ b/editor/settings/editor_command_palette.cpp
@@ -192,10 +192,10 @@ void EditorCommandPalette::_confirmed() {
}
void EditorCommandPalette::open_popup() {
+ _update_command_search(String());
if (was_showed) {
popup(prev_rect);
} else {
- _update_command_search(String());
popup_centered_clamped(Size2(600, 440) * EDSCALE, 0.8f);
}