diff -r 2abfdb7e85f4 -r 3bb6b1548c53 texteditor.cpp --- a/texteditor.cpp Mon Jan 14 16:26:59 2008 +0000 +++ b/texteditor.cpp Mon May 05 13:46:42 2008 +0000 @@ -452,7 +452,7 @@ { if (state!=inactiveEditor) { - if (e->text().length()) + if (!isEmpty()) { QMessageBox mb( vymName + " - " +tr("Note Editor"), "Loading will overwrite the existing note",