mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:17:35 +00:00
PixelPaint: Move request_close_editor()
logic inside ImageEditor
This allows us to request any specific editor to close itself. Earlier, this could only be done for the currently active editor, so trying to close inactive tabs would not work properly.
This commit is contained in:
parent
c2b3bab984
commit
6c60bf7537
4 changed files with 25 additions and 26 deletions
|
@ -37,7 +37,6 @@ public:
|
|||
void open_image_fd(int fd, String const& path);
|
||||
void create_default_image();
|
||||
|
||||
bool request_close_editor();
|
||||
bool request_close();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue