From 9328cf42c56f86516933cb8060c293dbe5c65877 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Sat, 20 Aug 2022 08:17:07 -0700 Subject: [PATCH] Don't close blocking dialog in backannotate Back annotate is called from a dialog, so this will close itself but not exit, locking the UI (cherry picked from commit 28876bef9013e9a98ac729fb11a47f647965507a) Fixes https://gitlab.com/kicad/code/kicad/issues/12255 --- eeschema/tools/backannotate.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/eeschema/tools/backannotate.cpp b/eeschema/tools/backannotate.cpp index 5574d91683..cfb84d5554 100644 --- a/eeschema/tools/backannotate.cpp +++ b/eeschema/tools/backannotate.cpp @@ -112,9 +112,6 @@ bool BACK_ANNOTATE::FetchNetlistFromPCB( std::string& aNetlist ) frame->OpenProjectFiles( std::vector( 1, fn.GetFullPath() ) ); } - if( wxWindow* blocking_win = frame->Kiway().GetBlockingDialog() ) - blocking_win->Close( true ); - m_frame->Kiway().ExpressMail( FRAME_PCB_EDITOR, MAIL_PCB_GET_NETLIST, aNetlist ); return true; }