1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 09:57:35 +00:00

PixelPaint: Don't open new images in background tabs

When opening/creating a new image, let's make it the foreground tab.
This commit is contained in:
Andreas Kling 2021-06-16 12:11:59 +02:00
parent abc40af809
commit 0c8dce60a2

View file

@ -517,6 +517,7 @@ int main(int argc, char** argv)
if (image->layer_count())
image_editor.set_active_layer(&image->layer(0));
tab_widget.set_active_widget(&image_editor);
image_editor.set_focus(true);
return image_editor;
};