mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Merge remote-tracking branch 'core/master' into AdventureModePort
This commit is contained in:
@@ -236,6 +236,8 @@ public class FDeckChooser extends FScreen {
|
||||
|
||||
@Override
|
||||
public void onActivate() {
|
||||
if (cmbDeckTypes != null && cmbDeckTypes.getDropDownisVisible())
|
||||
cmbDeckTypes.hideDropDown();
|
||||
String selectedDeck = "";
|
||||
int index = 0;
|
||||
if (lstDecks.getSelectedItem() != null) {
|
||||
|
||||
@@ -188,6 +188,13 @@ public class FComboBox<T> extends FTextField implements IComboBox<T> {
|
||||
public FEventHandler getDropDownChangeHandler() {
|
||||
return dropDownChangeHandler;
|
||||
}
|
||||
public boolean getDropDownisVisible() {
|
||||
return dropDown != null && dropDown.isVisible();
|
||||
}
|
||||
public void hideDropDown() {
|
||||
if (dropDown != null)
|
||||
dropDown.hide();
|
||||
}
|
||||
public void setDropDownChangeHandler(FEventHandler changedHandler0) {
|
||||
dropDownChangeHandler = changedHandler0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user