mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +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:
parent
abc40af809
commit
0c8dce60a2
Notes:
sideshowbarker
2024-07-18 12:11:38 +09:00
Author: https://github.com/awesomekling
Commit: 0c8dce60a2
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue