From 0c8dce60a2481380a31f4ae527e033e63d2ed295 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 16 Jun 2021 12:11:59 +0200 Subject: [PATCH] PixelPaint: Don't open new images in background tabs When opening/creating a new image, let's make it the foreground tab. --- Userland/Applications/PixelPaint/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Applications/PixelPaint/main.cpp b/Userland/Applications/PixelPaint/main.cpp index dbaf550ff5..1b782afa72 100644 --- a/Userland/Applications/PixelPaint/main.cpp +++ b/Userland/Applications/PixelPaint/main.cpp @@ -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; };