mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-26 06:58:22 +01:00
Show message when library manifest cannot be downloaded
This commit is contained in:
parent
605de3eef4
commit
df1d1644b8
1 changed files with 5 additions and 1 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue