diff --git a/app/src/gambas3/.src/FOption.class b/app/src/gambas3/.src/FOption.class index 96fbac8fa..5f4fe3be2 100644 --- a/app/src/gambas3/.src/FOption.class +++ b/app/src/gambas3/.src/FOption.class @@ -29,7 +29,7 @@ Private Sub ReadConfig() Case "FontChooser" hCtrl.SelectedFont = vVal Case "ComboBox" - If IsBoolean(vVal) Then + If TypeOf(vVal) = gb.Boolean Then hCtrl.Index = If(vVal, 1, 0) Else hCtrl.Index = vVal