aboutsummaryrefslogtreecommitdiff
path: root/source/EditorCore.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-04-25 20:32:25 -0700
committerrtk0c <[email protected]>2022-04-25 20:32:25 -0700
commit7fa7840be1093f194031d2d5d9b45ada8613e72e (patch)
tree50f27a16084d652dee58e7867ffe3f7e3ec477ec /source/EditorCore.cpp
parent855da86feae1a5cc14dc2d486ccf115f484dbc2e (diff)
Changeset: 17 Replace EditorCommandPalette.hpp/cpp with the copy from P6503
Diffstat (limited to 'source/EditorCore.cpp')
-rw-r--r--source/EditorCore.cpp2
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)) {