aboutsummaryrefslogtreecommitdiff
path: root/source/EditorCore.cpp
diff options
context:
space:
mode:
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)) {