Ensure cards table has focus after clicking random card button.
parent
21b63bfd75
commit
4a5026b09c
|
@ -126,6 +126,7 @@ public class ExplorerContentPanel extends JPanel
|
|||
|
||||
public void selectRandomCard() {
|
||||
cardPoolTable.selectRandomCard();
|
||||
cardPoolTable.requestFocus();
|
||||
}
|
||||
|
||||
void setCardsTableStyle() {
|
||||
|
|
|
@ -151,4 +151,9 @@ abstract class CardsTablePanel extends TexturedPanel {
|
|||
reselectLastCards();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void requestFocus() {
|
||||
table.requestFocus();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue