Skip to content

Commit

Permalink
don't show ok button if category value is null
Browse files Browse the repository at this point in the history
  • Loading branch information
Helium314 authored and westnordost committed Sep 25, 2023
1 parent 97c3541 commit 65b98d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,5 @@ abstract class AGroupedImageListQuestForm<I, T> : AbstractOsmQuestForm<T>() {

abstract fun onClickOk(value: I)

override fun isFormComplete() = selectedItem != null
override fun isFormComplete() = selectedItem?.value != null
}

0 comments on commit 65b98d6

Please sign in to comment.