diff -r 827d334d55f1 -r 01c028006e6d texteditor.cpp --- a/texteditor.cpp Fri Feb 01 15:28:35 2008 +0000 +++ b/texteditor.cpp Fri Feb 01 15:28:35 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",