diff -r 31c6ce8efbc7 -r 6783e13bb05d texteditor.cpp --- a/texteditor.cpp Thu Mar 24 21:10:38 2005 +0000 +++ b/texteditor.cpp Sat Apr 09 22:50:08 2005 +0000 @@ -50,6 +50,8 @@ extern int statusbarTime; extern QSettings settings; +extern QAction *actionViewToggleNoteEditor; + using namespace std; @@ -468,6 +470,8 @@ if ( !e->isModified() ) { ce->accept(); // TextEditor can be reopened with show() + actionViewToggleNoteEditor->setOn (false); + showwithmain=false; return; } }