More busy cursor tightening.
Fixes https://gitlab.com/kicad/code/kicad/issues/11648
This commit is contained in:
parent
c9f11827a7
commit
ad5df7f4cc
|
@ -232,7 +232,10 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
|
|||
|
||||
try
|
||||
{
|
||||
{
|
||||
wxBusyCursor busy;
|
||||
Schematic().SetRoot( pi->Load( fullFileName, &Schematic() ) );
|
||||
}
|
||||
|
||||
if( !pi->GetError().IsEmpty() )
|
||||
{
|
||||
|
|
|
@ -746,8 +746,6 @@ 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
|
||||
|
@ -802,6 +800,7 @@ int KICAD_MANAGER_CONTROL::ShowPlayer( const TOOL_EVENT& aEvent )
|
|||
}
|
||||
}
|
||||
|
||||
wxBusyCursor busy;
|
||||
player->Show( true );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue