mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fix issue when field disappears
This commit is contained in:
@@ -70,10 +70,9 @@ public enum VMatchUI implements IVTopLevelUI {
|
|||||||
|
|
||||||
//Clear previous match views if screen was previously closed
|
//Clear previous match views if screen was previously closed
|
||||||
if (wasClosed) {
|
if (wasClosed) {
|
||||||
createEmptyDocs();
|
|
||||||
wasClosed = false;
|
wasClosed = false;
|
||||||
}
|
}
|
||||||
else { //focus first enabled Prompt button if returng to match screen
|
else { //focus first enabled Prompt button if returning to match screen
|
||||||
if (getBtnOK().isEnabled()) {
|
if (getBtnOK().isEnabled()) {
|
||||||
getBtnOK().requestFocusInWindow();
|
getBtnOK().requestFocusInWindow();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user