diff options
author | hnOsmium0001 <[email protected]> | 2022-04-25 20:32:25 -0700 |
---|---|---|
committer | hnOsmium0001 <[email protected]> | 2022-04-25 20:32:25 -0700 |
commit | e826894632f59c214c309d934843c49d73103612 (patch) | |
tree | 5ece9f0fb9f06576c6f0f4c5838c6655bce99e84 /source/EditorCore.cpp | |
parent | f54370de7e4214cb7813d26b1a39a8f6e42b7b56 (diff) |
Replace EditorCommandPalette.hpp/cpp with the copy from P6503
Diffstat (limited to 'source/EditorCore.cpp')
-rw-r--r-- | source/EditorCore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/EditorCore.cpp b/source/EditorCore.cpp index 601a850..8288df3 100644 --- a/source/EditorCore.cpp +++ b/source/EditorCore.cpp @@ -338,7 +338,7 @@ void EditorInstance::Show() { mWindowVisible_CommandPalette = !mWindowVisible_CommandPalette; } if (mWindowVisible_CommandPalette) { - ImCmd::ShowCommandPaletteWindow("Command Palette", &mWindowVisible_CommandPalette); + mEdCommandPalette.Show(&mWindowVisible_CommandPalette); } if (io.KeyCtrl && ImGui::IsKeyPressed(GLFW_KEY_SPACE, false)) { |