ARPspoofing / pe

0 stars 0 forks source link

Undo and redo command does not work properly when remark text box is open #11

Closed ARPspoofing closed 1 year ago

ARPspoofing commented 1 year ago

Steps to reproduce:

  1. edit 1 n/firstName
  2. edit 1 n/secondName
  3. edit 1 n/thirdName
  4. undo
  5. remark 1
  6. type a new remark (hellohellohello), and while it is open, go to the command box and type redo
  7. Now save the remark
  8. The remark is saved to the latest state, but it should be saved to the state it was opened in

It may seem weird, but an edit feature should be changing the state it is supposed to edit, not the latest state

Screenshot 2023-04-14 at 2.52.12 PM.png