texteditor.cpp
changeset 673 234b4900dfa8
parent 645 2abfdb7e85f4
child 729 7ddbe3fa34a1
     1.1 --- a/texteditor.cpp	Mon Jan 14 16:26:59 2008 +0000
     1.2 +++ b/texteditor.cpp	Wed Feb 27 16:09:06 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",