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
commit 0c8dce60a2
Notes: sideshowbarker 2024-07-18 12:11:38 +09:00

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;
};