* source/rtl/teditor.prg

! Fix call to SET() without setting values.
      METHOD InsertState()
This commit is contained in:
Walter Negro
2002-06-21 18:47:12 +00:00
parent a68152920f
commit e1c51ed9aa

View File

@@ -808,8 +808,10 @@ return lMoveKey
// Changes lInsert value and insertion / overstrike mode of editor
METHOD InsertState(lInsState) CLASS HBEditor
::lInsert := lInsState
SET(_SET_INSERT, lInsState)
IF ISLOGICAL( lInsState )
::lInsert := lInsState
SET(_SET_INSERT, lInsState)
ENDIF
return Self