texteditor.cpp
changeset 163 30b22f7bd009
parent 144 f4bbdc809fec
child 189 ca30b203fb73
     1.1 --- a/texteditor.cpp	Mon Aug 01 19:33:16 2005 +0000
     1.2 +++ b/texteditor.cpp	Mon Sep 12 19:52:51 2005 +0000
     1.3 @@ -527,13 +527,10 @@
     1.4  	else
     1.5  		state=filledEditor;
     1.6  
     1.7 -	if (state != oldstate)
     1.8 -	{
     1.9  		if (state==emptyEditor)
    1.10  			e->setPaper (emptyPaper);
    1.11  		else
    1.12  			e->setPaper (filledPaper);
    1.13 -	}
    1.14  	// SLOT is LinkableMapObj, which will update systemFlag
    1.15  	emit (textHasChanged() );
    1.16  }
    1.17 @@ -545,7 +542,7 @@
    1.18  		t = QStyleSheet::convertFromPlainText( t, QStyleSheetItem::WhiteSpaceNormal );
    1.19  	e->setReadOnly(false);
    1.20  	e->setText(t);
    1.21 -	editorChanged();	//not called automagically
    1.22 +//	editorChanged();	//not called automagically  FIXME or is it?
    1.23  
    1.24  	enableActions();
    1.25  }