texteditor.cpp
changeset 94 6783e13bb05d
parent 0 7a96bd401351
child 95 f688a9913724
     1.1 --- a/texteditor.cpp	Thu Mar 24 21:10:38 2005 +0000
     1.2 +++ b/texteditor.cpp	Sat Apr 09 22:50:08 2005 +0000
     1.3 @@ -50,6 +50,8 @@
     1.4  extern int statusbarTime;
     1.5  extern QSettings settings;
     1.6  
     1.7 +extern QAction *actionViewToggleNoteEditor;
     1.8 +
     1.9  using namespace std;
    1.10  
    1.11  
    1.12 @@ -468,6 +470,8 @@
    1.13      if ( !e->isModified() ) 
    1.14  	{
    1.15  		ce->accept();	// TextEditor can be reopened with show()
    1.16 +		actionViewToggleNoteEditor->setOn (false);
    1.17 +		showwithmain=false;
    1.18  		return;
    1.19      }
    1.20  }