diff -r bb94eec7c8f3 -r 0e1aeb21cb78 texteditor.cpp --- a/texteditor.cpp Thu Sep 21 13:48:05 2006 +0000 +++ b/texteditor.cpp Mon Oct 16 12:42:54 2006 +0000 @@ -1,20 +1,5 @@ #include "texteditor.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - #include #include #include @@ -511,7 +496,8 @@ void TextEditor::closeEvent( QCloseEvent* ce ) { ce->accept(); // TextEditor can be reopened with show() - actionViewToggleNoteEditor->setOn (false); + emit (textEditorClosed() ); + cout << "TE closed\n"; showwithmain=false; return; }