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:
parent
af1e8ed763
commit
020376937e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user