diff --git a/src/main/frontend/handler/command_palette.cljs b/src/main/frontend/handler/command_palette.cljs index e57568219..8fc0ba76f 100644 --- a/src/main/frontend/handler/command_palette.cljs +++ b/src/main/frontend/handler/command_palette.cljs @@ -49,6 +49,7 @@ (defn invoke-command [{:keys [action] :as cmd}] (add-history cmd) + (state/set-state! :ui/command-palette-open? false) (state/close-modal!) (action)) diff --git a/src/main/frontend/modules/shortcut/config.cljs b/src/main/frontend/modules/shortcut/config.cljs index c73223fb6..fc8e31d5b 100644 --- a/src/main/frontend/modules/shortcut/config.cljs +++ b/src/main/frontend/modules/shortcut/config.cljs @@ -571,8 +571,7 @@ :shortcut.handler/misc ;; always overrides the copy due to "mod+c mod+s" - {:misc/copy (:misc/copy all-default-keyboard-shortcuts) - :command-palette/toggle (:command-palette/toggle all-default-keyboard-shortcuts)} + {:misc/copy (:misc/copy all-default-keyboard-shortcuts)} :shortcut.handler/global-non-editing-only (->