Skip to content

Properties: need to press "undo" twice to undo "reset to default" for compound properties like align and scale #15765

Open
@cbjeukendrup

Description

@cbjeukendrup

To Reproduce
Steps to reproduce the behavior:

  1. Create score
  2. Add time signature
  3. Change its scale in the Properties panel; modify both horizontal and vertical scale.
  4. Click '...' > "reset to default".
  5. Press undo
    -> expected: both horizontal and vertical scale are back at their customised value
    -> actual: only vertical scale is restored; horizontal scale is still at 100%
  6. Press undo again
    -> now horizontal scale is also back at its customised value

Same story for the "align" property of text.

Expected behavior
Since it takes one action to reset both values, it should take one press of the "undo" button to undo that.

Screenshots
If applicable, add screenshots to help explain your problem.

Schermopname.2023-01-08.om.20.39.39.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions