Undo selection change
I imagine I'm not the only one who has felt the pain of selecting a lot of things only to misclick and have all that selection work gone. Please put change selection in the undo menu stack for the gallery view.
See also https://doc.qt.io/qt-5/qtwidgets-tools-undoframework-example.html
Would "remove files undo" go under the same widget system or is that a separate issue?
See also https://github.com/hydrusnetwork/hydrus/issues/597
Would "remove files undo" go under the same widget system or is that a separate issue?
That's a different issue but part of the same system. It also interacts with this issue because undoing removal means you also have to restore whether it is selected or not.