mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
LibGUI: Add UndoStack::{undo,redo}_action_text()
These return the action_text() for the current undo and redo commands, if available.
This commit is contained in:
parent
0bfbee4596
commit
c670d8c56d
Notes:
sideshowbarker
2024-07-18 18:28:41 +09:00
Author: https://github.com/awesomekling
Commit: c670d8c56d
2 changed files with 17 additions and 0 deletions
|
@ -30,6 +30,9 @@ public:
|
|||
|
||||
void clear();
|
||||
|
||||
Optional<String> undo_action_text() const;
|
||||
Optional<String> redo_action_text() const;
|
||||
|
||||
Function<void()> on_state_change;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue