Add the full path of a library when it can't be found

This commit is contained in:
Luis Ángel San Martín 2023-05-31 22:06:57 +02:00
parent 11c8954e8e
commit d3829bc07c

View File

@ -1471,7 +1471,7 @@ void LibraryWindow::loadLibrary(const QString &name)
// si la librería no existe en disco, se ofrece al usuario la posibiliad de eliminarla
if (!d.exists(path)) {
QString currentLibrary = selectedLibrary->currentText();
QString currentLibrary = selectedLibrary->currentText() + " -> " + libraries.getPath(name);
if (QMessageBox::question(this, tr("Library not available"), tr("Library '%1' is no longer available. Do you want to remove it?").arg(currentLibrary), QMessageBox::Yes, QMessageBox::No) == QMessageBox::Yes) {
deleteCurrentLibrary();
}