Browse Source

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
newinvert
Marek Roszko 2 years ago
parent
commit
8abd32c97c
  1. 3
      common/single_top.cpp

3
common/single_top.cpp

@ -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…
Cancel
Save