summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 7b5223e69..08c8e1711 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -980,7 +980,8 @@ bool MainWindow::askSaveChanges()
QMessageBox response(this);
if (existing_filename)
- message = tr("Do you want to save the changes that you made in the file %1?").arg(existing_filename);
+ message = tr("Do you want to save the changes that you made in the file %1?")
+ .arg(displayedFilename(existing_filename));
else
message = tr("Do you want to save the changes that you made in the data file?");