Mercurial > hg > octave-nkf
diff libgui/src/m-editor/file-editor.cc @ 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 | 9cd14e53e906 |
children | 6c0fce0632a4 |
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);