Skip to content

execute button shortcut: command+enter instead of mod+enter#7593

Draft
yoshiokatsuneo wants to merge 2 commits intogetredash:masterfrom
yoshiokatsuneo:fix/execute_button_shortcut_command_enter
Draft

execute button shortcut: command+enter instead of mod+enter#7593
yoshiokatsuneo wants to merge 2 commits intogetredash:masterfrom
yoshiokatsuneo:fix/execute_button_shortcut_command_enter

Conversation

@yoshiokatsuneo
Copy link
Copy Markdown
Contributor

@yoshiokatsuneo yoshiokatsuneo commented Dec 9, 2025

What type of PR is this?

On Windows, when ctrl-enter shortcut is used to execute the query, API is called twice. This happens because ctrl-enter handler is registered twice on Windows where mod+enter is mapped to ctrl+enter that is already exists.
This PR fixed the issue by using command+enter instead of mod+enter.

Related PR: #7592

  • Bug Fix

Description

How is this tested?

  • Manually

I tested on Mac that the query was run using command-enter, ctrl-enter, alt-enter, shift-enter.
(I haven't tested on Windows.)

image

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

@yoshiokatsuneo yoshiokatsuneo marked this pull request as draft December 9, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant