]> git.lyx.org Git - features.git/commitdiff
Inform user of the new name of the emergency file.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Tue, 21 May 2019 01:23:40 +0000 (21:23 -0400)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:30 +0000 (15:48 +0200)
src/Buffer.cpp

index 7dbef4f18d01bd2cf7c62a139a0f855ab1e4c200..6665a731e17b00bbbd2990b0459156942b74664a 100644 (file)
@@ -4801,6 +4801,10 @@ Buffer::ReadStatus Buffer::loadEmergency()
                                          "You should do so manually. Otherwise, you will be "
                                          "asked about it again the next time you try to load "
                                          "this file, and may over-write your own work."));
+                       } else {
+                               Alert::warning(_("Emergency File Renames"),
+                                       bformat(_("Emergency file renamed as:\n %1$s"),
+                                       from_utf8(newname.onlyFileName())));
                        }
                }
                return ReadOriginal;