1.1 --- a/texteditor.cpp Sun Jul 31 12:24:53 2005 +0000
1.2 +++ b/texteditor.cpp Tue Aug 16 17:27:34 2005 +0000
1.3 @@ -506,13 +506,10 @@
1.4
1.5 void TextEditor::closeEvent( QCloseEvent* ce )
1.6 {
1.7 - if ( !e->isModified() )
1.8 - {
1.9 - ce->accept(); // TextEditor can be reopened with show()
1.10 - actionViewToggleNoteEditor->setOn (false);
1.11 - showwithmain=false;
1.12 - return;
1.13 - }
1.14 + ce->accept(); // TextEditor can be reopened with show()
1.15 + actionViewToggleNoteEditor->setOn (false);
1.16 + showwithmain=false;
1.17 + return;
1.18 }
1.19
1.20 QString TextEditor::getText()