Two suppr lead to an empty warning

If “ctrl+suppr” is pressed twice quickly in the browser it does the following:

  • delete the note selected and the next one
  • show an alert with an empty message
  • remove undo (the worst part)

This in particular can occur if for some reason the computer was slow to show update and so you assumed the command was not registered.

I suppose that when you delete a note, the cursor is moved, and this new note was the one receiving the second delete. Ideally, I’d believe the action should be idempotent, and that you shouldn’t be able to delete a note if your cursor was not there when you pressed the button

Version ⁨2.1.53 (96bacf79)⁩
Python 3.9.10 Qt 5.15.2 PyQt 5.15.5


I hit this error multiple times too.

Please let me know if the next rc doesn’t fix it.