From ee6136ac4aeffea50812a786139e6c232625ba72 Mon Sep 17 00:00:00 2001 From: Edwin Jakobs Date: Tue, 11 Apr 2023 15:42:35 +0200 Subject: [PATCH] [orx-panel] Fix DemoWatchDiv01 --- orx-jvm/orx-panel/src/demo/kotlin/DemoWatchDiv01.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orx-jvm/orx-panel/src/demo/kotlin/DemoWatchDiv01.kt b/orx-jvm/orx-panel/src/demo/kotlin/DemoWatchDiv01.kt index a4a3700b..71d81d3d 100644 --- a/orx-jvm/orx-panel/src/demo/kotlin/DemoWatchDiv01.kt +++ b/orx-jvm/orx-panel/src/demo/kotlin/DemoWatchDiv01.kt @@ -67,7 +67,7 @@ fun main() = application { button { label = "save" clicked { - saveFileDialog(supportedExtensions = listOf("json")) { + saveFileDialog(supportedExtensions = listOf("JSON" to listOf("json"))) { programState.save(it) } } @@ -76,7 +76,7 @@ fun main() = application { button { label = "load" clicked { - openFileDialog(supportedExtensions = listOf("json")) { + openFileDialog(supportedExtensions = listOf("JSON" to listOf("json"))) { programState.load(it) } }