diff --git a/AlgebraicDataflowArchitectureModel/models/SimpleUI2.model b/AlgebraicDataflowArchitectureModel/models/SimpleUI2.model index 55fdf7b..5e18127 100644 --- a/AlgebraicDataflowArchitectureModel/models/SimpleUI2.model +++ b/AlgebraicDataflowArchitectureModel/models/SimpleUI2.model @@ -4,7 +4,7 @@ "widgets": { "001": {"type": "textInput", "text": "", "visible": true}, "002": {"type": "button", "text": "Next", "visible": true}, - "005": {"type": "label", "text": "", "visible": true}, + "005": {"type": "label", "text": "_", "visible": true}, "006": {"type": "button", "text": "hello", "visible": true} }, "layout": true @@ -82,7 +82,7 @@ channel EventHandler3(wid: Str) { in screen.widgets.{wid="001"}.text(curText: Str, handler3(nextText: Str, target:Str)) = nextText - ref sender5(target, handler3(nextState, target)) + ref sender5(target, handler3(nextText, target)) out screen.widgets.{target}.text(curText, handler3(nextText, target)) = nextText }