Fixed possible use of uninitialized variable (state)
authorjhilmer
Sat, 23 Jul 2005 15:13:34 +0000
changeset 135e7f59f62bbe3
parent 134 6c199971ddb5
child 136 b0d8b00fb937
Fixed possible use of uninitialized variable (state)
texteditor.cpp
     1.1 --- a/texteditor.cpp	Sat Jul 23 10:26:30 2005 +0000
     1.2 +++ b/texteditor.cpp	Sat Jul 23 15:13:34 2005 +0000
     1.3 @@ -531,8 +531,8 @@
     1.4  
     1.5  void TextEditor::setInactive()
     1.6  {
     1.7 +	state=inactiveEditor;
     1.8  	setText("");
     1.9 -	state=inactiveEditor;
    1.10  	e->setPaper (inactivePaper);
    1.11  	e->setReadOnly (true);
    1.12