7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-07 17:45:32 +00:00

Hide "Unable to load repository url" message when repository fetching is cancelled.

This commit is contained in:
Alex Shvartzkop 2025-02-11 18:56:21 +03:00
parent af1e8ed763
commit 020376937e

View File

@ -263,12 +263,7 @@ bool PLUGIN_CONTENT_MANAGER::FetchRepository( const wxString& aUrl, PCM_REPOSITO
aReporter->SetTitle( _( "Fetching repository" ) );
if( !DownloadToStream( aUrl, &repository_stream, aReporter, 20480 ) )
{
if( m_dialog )
wxLogError( _( "Unable to load repository url" ) );
return false;
}
nlohmann::json repository_json;