apoch/curvature

Bug: clicking Cancel in the consideration wizard does not roll back changes made

Closed this issue · 0 comments

apoch commented

Repro:

  • Create a consideration on a behavior
  • Input some values in the wizard
  • Click the consideration in the list of considerations for the behavior
  • Click the Wizard button to the right of the Input dropdown
  • Scramble some values
  • Click Cancel instead of OK
  • De-select and re-select the behavior

The scrambled values will be reflected in the consideration editor even though the dialog was canceled. This should instead roll back the dialog's changes to the state the consideration was in prior to opening the wizard.