mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
KeyboardMapper: Ask for unsaved changes on window close and file open
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 17:47:15 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/b6510f8e76 Pull-request: https://github.com/SerenityOS/serenity/pull/12775
@@ -25,6 +25,8 @@ public:
|
||||
void show_error_to_user(Error);
|
||||
void set_automatic_modifier(bool checked);
|
||||
|
||||
bool request_close();
|
||||
|
||||
protected:
|
||||
virtual void keydown_event(GUI::KeyEvent&) override;
|
||||
virtual void keyup_event(GUI::KeyEvent&) override;
|
||||
|
||||
Reference in New Issue
Block a user