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:
parent
0a28956cf8
commit
8abd32c97c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue