mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Fix #3171 doubleclick on autocomplete dropdowns
This commit is contained in:
parent
0a12676946
commit
73c8832603
@ -92,12 +92,15 @@ public class AutocompleteComboBox<T> extends JFXComboBox<T> {
|
||||
var inputTextItem = getConverter().fromString(inputText);
|
||||
if (selectedItem != null && selectedItem.equals(inputTextItem)) {
|
||||
eh.handle(e);
|
||||
getParent().requestFocus();
|
||||
return;
|
||||
}
|
||||
|
||||
// Case 2: fire if the text is empty to support special "show all" case
|
||||
if (inputText.isEmpty())
|
||||
if (inputText.isEmpty()) {
|
||||
eh.handle(e);
|
||||
getParent().requestFocus();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user