Browse Source

Fix empty Command Palette

kobewi 6 months ago
parent
commit
0c446e0620
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/editor_command_palette.cpp

+ 1 - 0
editor/editor_command_palette.cpp

@@ -207,6 +207,7 @@ void EditorCommandPalette::open_popup() {
 	if (was_showed) {
 	if (was_showed) {
 		popup(prev_rect);
 		popup(prev_rect);
 	} else {
 	} else {
+		_update_command_search(String());
 		popup_centered_clamped(Size2(600, 440) * EDSCALE, 0.8f);
 		popup_centered_clamped(Size2(600, 440) * EDSCALE, 0.8f);
 	}
 	}