diff --git a/common/widgets/wx_progress_reporters.cpp b/common/widgets/wx_progress_reporters.cpp index 5491fb0284..3524693cda 100644 --- a/common/widgets/wx_progress_reporters.cpp +++ b/common/widgets/wx_progress_reporters.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2017 CERN - * Copyright (C) 2021 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2022 KiCad Developers, see AUTHORS.txt for contributors. * * Author: Tomasz Wlostowski * @@ -84,7 +84,9 @@ bool WX_PROGRESS_REPORTER::updateUI() } Raise(); - SetFocus(); + + if( IsFocusable() ) + SetFocus(); bool diag = wxProgressDialog::Update( cur, message );