3 ms·
i think the ui framework needs to support it more natively. coding up an undo stack can be a real chore
by swyx 2y ago
i think the ui framework needs to support it more natively. coding up an undo stack can be a real chore
- jraph 2y agoI agree, I have coded undo stacks, it's a bit of a pain (assuming you mean a stack that allows you to undo and redo). Although strictly speaking, you don't always need one, just a list of stuff the user can restore, in any order. That's because you don't always have dependencies between stuff, and/or you don't always need to be able to redo. Or even one cell to be able restore the last deletion, that's already a step in the right direction and strictly better than the confirm dialog. By the way, Plasma might be doing it this way (the list or the cell), you can't arbitrarily undo and redo stuff to my knowledge.
- abdulhaq 2y agokde is built on Qt and Qt has an Undo command stack