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) } }