From dc4708cdb7cba2d100e4d34553d0dc15a03fc457 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop <dudesuchamazing@gmail.com> Date: Tue, 11 Feb 2025 18:56:21 +0300 Subject: [PATCH] Hide "Unable to load repository url" message when repository fetching is cancelled. (cherry picked from commit 020376937ea3ef7e64512e32c66cc4de171ad073) --- kicad/pcm/pcm.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kicad/pcm/pcm.cpp b/kicad/pcm/pcm.cpp index eeec5c3d19..032d94cfb6 100644 --- a/kicad/pcm/pcm.cpp +++ b/kicad/pcm/pcm.cpp @@ -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;