Fix cherry-pick issue with file locking

This commit is contained in:
Seth Hillbrand 2023-09-29 11:15:59 -07:00
parent 131013f291
commit 093db600ff
1 changed files with 1 additions and 1 deletions

View File

@ -1243,7 +1243,7 @@ bool SCH_EDIT_FRAME::importFile( const wxString& aFileName, int aFileType )
msg.Printf( _( "Schematic '%s' is already open by '%s' at '%s'." ), aFileName,
m_file_checker->GetUsername(), m_file_checker->GetHostname() );
if( !OverrideLock( this, msg ) )
if( !AskOverrideLock( this, msg ) )
return false;
m_file_checker->OverrideLock();