diff -r 3590c3490789 -r 401f76b830d1 texteditor.cpp --- a/texteditor.cpp Sun Jul 31 12:24:53 2005 +0000 +++ b/texteditor.cpp Mon Aug 08 16:15:57 2005 +0000 @@ -506,13 +506,10 @@ void TextEditor::closeEvent( QCloseEvent* ce ) { - if ( !e->isModified() ) - { - ce->accept(); // TextEditor can be reopened with show() - actionViewToggleNoteEditor->setOn (false); - showwithmain=false; - return; - } + ce->accept(); // TextEditor can be reopened with show() + actionViewToggleNoteEditor->setOn (false); + showwithmain=false; + return; } QString TextEditor::getText()