mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Use friendlier file name when asking about saving changes
It's silly to show our full URL with branch name in that case. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f442358915
commit
a9c2a3f009
1 changed files with 2 additions and 1 deletions
|
@ -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?");
|
||||
|
||||
|
|
Loading…
Reference in a new issue