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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user