mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Fix arbitrator language selection using arrow keys
To prevent the issue mentioned in https://github.com/bisq-network/bisq/issues/354 where using arrow keys to navigate the combobox would add the first language, utilize the onHiding event rather than onAction event. This will add the selected language when the combobox is closing.
This commit is contained in:
parent
56965c1904
commit
cb42942d86
@ -204,7 +204,7 @@ public class ArbitratorSelectionView extends ActivatableViewAndModel<GridPane, A
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
languageComboBox.setOnAction(e -> onAddLanguage());
|
languageComboBox.setOnHiding(e -> onAddLanguage());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addArbitratorsGroup() {
|
private void addArbitratorsGroup() {
|
||||||
|
Loading…
Reference in New Issue
Block a user