We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aed1d3e commit d736ec9Copy full SHA for d736ec9
src/main/kotlin/me/cjcrafter/pygetset/GenerateToString.kt
@@ -47,11 +47,11 @@ class GenerateToString : AnAction() {
47
val panel = panel {
48
buttonsGroup(title = "Template:") {
49
row {
50
- radioButton("Table", ToStringTemplate.TABULAR_TEMPLATE.name)
51
- radioButton("JSON", ToStringTemplate.JSON_TEMPLATE.name)
+ radioButton("Table", ToStringTemplate.TABULAR_TEMPLATE)
+ radioButton("JSON", ToStringTemplate.JSON_TEMPLATE)
52
}
53
- }.bind({ preview.model::template }, {
54
- preview.model.template = it.get()
+ }.bind({ preview.model.template }, {
+ preview.model.template = it
55
})
56
57
0 commit comments