Skip to content

CMD + Delete not working correctly #2022

Description

@tcarnachan

What happened?

In the query tab, after executing a SELECT query, trying to delete a line with ⌘⌫ (cmd + delete) does nothing. If I then click on a row in the result then click back to the query tab and try to delete a line like this, it instead deletes the row in results.

Steps to reproduce

  1. Open a database
  2. Open a new query tab
  3. Execute a SELECT query SELECT * FROM Table;
  4. Place cursor at the end of the query line and press cmd + delete

Additional info: This bug does not occur if in step 3 there is a comment line before the query.

--
SELECT * FROM Table;

Expected behavior

Delete the line in the query tab.

Database type

PostgreSQL

TablePro version

0.62.0

macOS version & chip

macOS Tahoe 26.5.2

Screenshots / Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions