New Features #1

Open
marvinelsen wants to merge 76 commits from develop into main
Showing only changes of commit efde0dcdb4 - Show all commits

View File

@ -28,6 +28,9 @@ class ListController(private val model: Model) {
.bind(Bindings.or(model.isSearching, Bindings.isEmpty(model.searchResults))) .bind(Bindings.or(model.isSearching, Bindings.isEmpty(model.searchResults)))
progressIndicatorEntries.visibleProperty().bind(model.isSearching) progressIndicatorEntries.visibleProperty().bind(model.isSearching)
labelNoEntriesFound
.visibleProperty()
.bind(Bindings.and(Bindings.isEmpty(model.searchResults), Bindings.not(model.isSearching)))
listViewSearchResults.selectionModel.selectedItemProperty().addListener { _, _, newValue: DictionaryEntryFx? -> listViewSearchResults.selectionModel.selectedItemProperty().addListener { _, _, newValue: DictionaryEntryFx? ->
if (newValue == null) { if (newValue == null) {