7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-04 23:05:30 +00:00

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

(cherry picked from commit 020376937e)
This commit is contained in:
Alex Shvartzkop 2025-02-11 18:56:21 +03:00
parent add6705e98
commit dc4708cdb7

View File

@ -253,12 +253,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;