Failed "Starring" operation is added to Undo/Redo
Steps to reproduce
- Try to star a file. This may fail (such as on #160 (closed), #163 (closed), or #165 (closed)).
Expected result
Failed operations are not undoable.
Actual result
The last undoable operation is replaced with the failed Starring operation (menu reads "Undo Starring"). Naturally, Ctrl+Z will not do anything user-visible.