From 8abd32c97cf2be771ae24f1667a66410263f3b60 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Wed, 12 Jul 2023 06:54:35 -0400 Subject: [PATCH] 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 --- common/single_top.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/single_top.cpp b/common/single_top.cpp index f5a40eac98..d045de79f7 100644 --- a/common/single_top.cpp +++ b/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; }