# HG changeset patch # User insilmaril # Date 1201879715 0 # Node ID 01c028006e6dc38f25c313e544192072862f324c # Parent 827d334d55f15687921b67feaa09d5aea9153e47 Added brasilian translation by Amadeu JĂșnior 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",