texteditor.cpp
changeset 664 01c028006e6d
parent 645 2abfdb7e85f4
child 729 7ddbe3fa34a1
     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",