Skip to content

Undo of changing a property to allow multiple values does nothing #1306

Open

Description

@yuxi-liu-wired

Steps

  1. Create a text property "note", and set it on a block to "text 1".
  2. Change the property to allow multiple values.
  3. Press Ctrl+Z.

Expected

"note" allows a single value again, and the block's value is "text 1".

Actual

"note" still allows multiple values, and the block's value stays a set holding "text 1". The undo does not revert the cardinality change.

Found with a property-based test of random outliner operation sequences with undo and redo, replayed on upstream master d9d625847.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions