fix: backward compatibility issues on plugin update (fixes #551)

This commit is contained in:
Carl-Robert Linnupuu 2024-05-15 00:09:14 +03:00
parent 8b7781f865
commit 6f259bf044
2 changed files with 3 additions and 3 deletions

View file

@ -27,10 +27,10 @@ class ServiceConfigurableComponent {
}
fun getSelectedService(): ServiceType {
return serviceComboBox.item
return serviceComboBox.selectedItem as ServiceType
}
fun setSelectedService(serviceType: ServiceType?) {
fun setSelectedService(serviceType: ServiceType) {
serviceComboBox.selectedItem = serviceType
}