Skip to content

Only allow undo/redo when scene is inactive #51

@christianbrugger

Description

@christianbrugger

While currently the ActionStackView is disabled when the scene becomes active, it is still possible to do undo/redo via the Menu and the Hotkeys.

To solve the issue the canUndoChanged and canUndoChanged slots have to fire when the scene becomes active / inactive. And the undo / redo slots need to check if the scene is active.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions