author | insilmaril |
Fri Feb 01 15:28:35 2008 +0000 (2008-02-01) | |
changeset 664 | 01c028006e6d |
parent 663 | 827d334d55f1 |
child 665 | a7db20d79c32 |
texteditor.cpp | file | annotate | diff | revisions |
1.1 --- a/texteditor.cpp Fri Feb 01 15:28:35 2008 +0000 1.2 +++ b/texteditor.cpp Fri Feb 01 15:28:35 2008 +0000 1.3 @@ -452,7 +452,7 @@ 1.4 { 1.5 if (state!=inactiveEditor) 1.6 { 1.7 - if (e->text().length()) 1.8 + if (!isEmpty()) 1.9 { 1.10 QMessageBox mb( vymName + " - " +tr("Note Editor"), 1.11 "Loading will overwrite the existing note",