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 3006f6a commit aeffcb0Copy full SHA for aeffcb0
src/main/kotlin/MinecraftConfigurable.kt
@@ -89,7 +89,8 @@ class MinecraftConfigurable : Configurable {
89
settings.isShowEventListenerGutterIcons = showEventListenerGutterCheckBox.isSelected
90
settings.isShowChatColorGutterIcons = showChatGutterIconsCheckBox.isSelected
91
settings.isShowChatColorUnderlines = showChatColorUnderlinesCheckBox.isSelected
92
- settings.underlineType = chatColorUnderlinesComboBox.selectedItem as MinecraftSettings.UnderlineType
+ settings.underlineType = chatColorUnderlinesComboBox.selectedItem as? MinecraftSettings.UnderlineType
93
+ ?: MinecraftSettings.UnderlineType.DOTTED
94
}
95
96
override fun reset() {
0 commit comments