Mercurial > hg > octave-nkf
changeset 15901:927b121ad63f
gui: new error message when saving a file as one already opened in the editor
* file-editor.cc(check_conflict_save): new error message
author | Torsten <ttl@justmail.de> |
---|---|
date | Sat, 05 Jan 2013 21:30:01 +0100 |
parents | 80e99730e5d4 |
children | d2774d202323 |
files | libgui/src/m-editor/file-editor.cc |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc +++ b/libgui/src/m-editor/file-editor.cc @@ -225,7 +225,8 @@ // Create a NonModal message about error. QMessageBox* msgBox = new QMessageBox ( QMessageBox::Critical, tr ("Octave Editor"), - tr ("File not saved! You've selected a file name\n\n %1\n\nwhich is the same as an already open file in the editor. (Could allow overwriting, with message, if that is what folks want.)"). + tr ("File not saved! A file with the selected name\n%1\n" + "is already open in the editor"). arg (saveFileName), QMessageBox::Ok, 0); msgBox->setWindowModality (Qt::NonModal);