7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 15:29:18 +00:00

Fix a wxWidgets alert

This commit is contained in:
jean-pierre charras 2022-02-17 10:06:19 +01:00
parent 5a9fb08778
commit 0ed3bba108

View File

@ -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 <tomasz.wlostowski@cern.ch>
*
@ -84,7 +84,9 @@ bool WX_PROGRESS_REPORTER::updateUI()
}
Raise();
SetFocus();
if( IsFocusable() )
SetFocus();
bool diag = wxProgressDialog::Update( cur, message );