1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

PixelPaint: Make paste action create new image if no editor is opened

This matches GIMP behaviour.
This commit is contained in:
Maciej 2021-11-26 21:09:22 +01:00 committed by Brian Gianforcaro
parent 41d02bd5e6
commit 28ea412251
2 changed files with 24 additions and 15 deletions

View file

@ -43,6 +43,7 @@ private:
ImageEditor* current_image_editor();
ImageEditor& create_new_editor(NonnullRefPtr<Image>);
void create_image_from_clipboard();
virtual void drop_event(GUI::DropEvent&) override;