Skip to content

Redo action is fired twice when the keyboard shortcut is used #215

@Spiffyk

Description

@Spiffyk

When you hit Ctrl+y or Ctrl+Shift+Z, the redo action is performed twice. This is because the shortcut is defined twice in the code: once in application.c as a case in the window_keypress_handler function, and once in swappy.glade as an <accelerator> on the redo button.

This does not affect undo, because it is only defined once as a case in the window_keypress_handler function and the undo button has no <accelerator>.

Introduced back in commit d7e7f2b.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions