HideSplash() earlier before the initial frame->Show()

There are instances we can throw modals very fast on frame show :/

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15168
This commit is contained in:
Marek Roszko 2023-07-12 06:54:35 -04:00
parent 0a28956cf8
commit 8abd32c97c
1 changed files with 1 additions and 2 deletions

View File

@ -357,6 +357,7 @@ bool PGM_SINGLE_TOP::OnPgmInit()
// OpenProjectFiles() that can update/use some widgets.
// The 2 calls to wxSafeYield are needed on wxGTK for best results.
wxSafeYield();
HideSplash();
frame->Show();
wxSafeYield();
@ -408,7 +409,5 @@ bool PGM_SINGLE_TOP::OnPgmInit()
frame->OpenProjectFiles( fileArgs );
}
HideSplash();
return true;
}