diff -r 18f824bd3070 -r 053b8645e3e9 texteditor.cpp --- a/texteditor.cpp Mon Oct 16 12:42:54 2006 +0000 +++ b/texteditor.cpp Wed Oct 18 10:45:00 2006 +0000 @@ -496,9 +496,8 @@ void TextEditor::closeEvent( QCloseEvent* ce ) { ce->accept(); // TextEditor can be reopened with show() + showwithmain=false; emit (textEditorClosed() ); - cout << "TE closed\n"; - showwithmain=false; return; }