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:
parent
41d02bd5e6
commit
28ea412251
2 changed files with 24 additions and 15 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue