From df1d1644b83ef8b538e049e11ff5b48db1c0df8a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 6 Dec 2025 15:55:24 +0100 Subject: [PATCH] Show message when library manifest cannot be downloaded --- gtk2_ardour/library_download_dialog.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/library_download_dialog.cc b/gtk2_ardour/library_download_dialog.cc index b6f60ae104..296e562a8b 100644 --- a/gtk2_ardour/library_download_dialog.cc +++ b/gtk2_ardour/library_download_dialog.cc @@ -31,6 +31,7 @@ #include "ardour/rc_configuration.h" #include "ardour/library.h" +#include "ardour_message.h" #include "gui_thread.h" #include "library_download_dialog.h" #include "ui_config.h" @@ -94,7 +95,10 @@ void LibraryDownloadDialog::refill () { ARDOUR::LibraryFetcher lf; - lf.get_descriptions (); + if (lf.get_descriptions () || 0 == lf.n_descriptions()) { + ArdourMessageDialog msg (*this, _("Failed to download library index.\nPlease check your internet connection.")); + msg.run (); + } if (lf.n_descriptions()) { _model->clear ();