Fix a wxWidgets alert
This commit is contained in:
parent
5a9fb08778
commit
0ed3bba108
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue