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
common
|
@ -357,6 +357,7 @@ bool PGM_SINGLE_TOP::OnPgmInit()
|
||||||
// OpenProjectFiles() that can update/use some widgets.
|
// OpenProjectFiles() that can update/use some widgets.
|
||||||
// The 2 calls to wxSafeYield are needed on wxGTK for best results.
|
// The 2 calls to wxSafeYield are needed on wxGTK for best results.
|
||||||
wxSafeYield();
|
wxSafeYield();
|
||||||
|
HideSplash();
|
||||||
frame->Show();
|
frame->Show();
|
||||||
wxSafeYield();
|
wxSafeYield();
|
||||||
|
|
||||||
|
@ -408,7 +409,5 @@ bool PGM_SINGLE_TOP::OnPgmInit()
|
||||||
frame->OpenProjectFiles( fileArgs );
|
frame->OpenProjectFiles( fileArgs );
|
||||||
}
|
}
|
||||||
|
|
||||||
HideSplash();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue