From 99e951b511a67c8a9d6c686d057f3dbf26e759a0 Mon Sep 17 00:00:00 2001 From: Edwin Jakobs Date: Thu, 13 Feb 2020 15:13:46 +0100 Subject: [PATCH] Fix bug in orx-gui serialization --- orx-gui/src/main/kotlin/Gui.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orx-gui/src/main/kotlin/Gui.kt b/orx-gui/src/main/kotlin/Gui.kt index 551e12fc..7f1dfcae 100644 --- a/orx-gui/src/main/kotlin/Gui.kt +++ b/orx-gui/src/main/kotlin/Gui.kt @@ -395,7 +395,7 @@ class GUI : Extension { ParameterType.Action -> ParameterValue() ParameterType.Color -> ParameterValue(colorValue = k.property.qget(lo.obj) as ColorRGBa) ParameterType.Text -> ParameterValue(textValue = k.property.qget(lo.obj) as String) - ParameterType.Boolean -> ParameterValue(booleanValue = k.property.qget(lo.obj as Boolean)) + ParameterType.Boolean -> ParameterValue(booleanValue = k.property.qget(lo.obj) as Boolean) }) }) }