diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-06-06 13:35:31 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-06-07 12:46:15 -0700 |
| commit | 3b77a16b63448eb1a1764ba82c0e945969c2d819 (patch) | |
| tree | 2833398397111d5ba9b1ebb7613268f6b251ea54 /src/App.zig | |
| parent | 5507ec0fc0199d3442065a54e8c737759eb5d084 (diff) | |
Make undo/redo app-targeted so it works with no windows
Diffstat (limited to 'src/App.zig')
| -rw-r--r-- | src/App.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/App.zig b/src/App.zig index 39db2e2f9..3bbeff2c8 100644 --- a/src/App.zig +++ b/src/App.zig @@ -446,6 +446,9 @@ pub fn performAction( .toggle_visibility => _ = try rt_app.performAction(.app, .toggle_visibility, {}), .check_for_updates => _ = try rt_app.performAction(.app, .check_for_updates, {}), .show_gtk_inspector => _ = try rt_app.performAction(.app, .show_gtk_inspector, {}), + .undo => _ = try rt_app.performAction(.app, .undo, {}), + + .redo => _ = try rt_app.performAction(.app, .redo, {}), } } |
