From d3829bc07c2a5a971b4e9bae4f0775adf3e489b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Wed, 31 May 2023 22:06:57 +0200 Subject: [PATCH] Add the full path of a library when it can't be found --- YACReaderLibrary/library_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReaderLibrary/library_window.cpp b/YACReaderLibrary/library_window.cpp index 81e28285..06794dd1 100644 --- a/YACReaderLibrary/library_window.cpp +++ b/YACReaderLibrary/library_window.cpp @@ -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(); }