mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
KeyboardMapper: Ask for unsaved changes on window close and file open
This commit is contained in:
parent
ae9e4c6f26
commit
b6510f8e76
3 changed files with 27 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue