diff --git a/src/main/kotlin/MinecraftConfigurable.kt b/src/main/kotlin/MinecraftConfigurable.kt index cc64b7b37..4d0fb0c1d 100644 --- a/src/main/kotlin/MinecraftConfigurable.kt +++ b/src/main/kotlin/MinecraftConfigurable.kt @@ -89,7 +89,8 @@ class MinecraftConfigurable : Configurable { settings.isShowEventListenerGutterIcons = showEventListenerGutterCheckBox.isSelected settings.isShowChatColorGutterIcons = showChatGutterIconsCheckBox.isSelected settings.isShowChatColorUnderlines = showChatColorUnderlinesCheckBox.isSelected - settings.underlineType = chatColorUnderlinesComboBox.selectedItem as MinecraftSettings.UnderlineType + settings.underlineType = chatColorUnderlinesComboBox.selectedItem as? MinecraftSettings.UnderlineType + ?: MinecraftSettings.UnderlineType.DOTTED } override fun reset() {