Kicad manager: minor cosmetic enhancement: show a busy cursor when launching an editor

This commit is contained in:
jean-pierre charras 2021-12-06 15:10:32 +01:00
parent 2e342ed8c9
commit 0ba11e9856
1 changed files with 2 additions and 0 deletions

View File

@ -658,6 +658,8 @@ int KICAD_MANAGER_CONTROL::ShowPlayer( const TOOL_EVENT& aEvent )
if( !m_loading.try_lock() )
return -1;
wxBusyCursor dummy;
const std::lock_guard<std::mutex> lock( m_loading, std::adopt_lock );
try