mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Prevent crash when clicking on card with no active abilities
This commit is contained in:
@@ -345,7 +345,12 @@ public abstract class VCardDisplayArea extends VDisplayArea implements ActivateH
|
||||
public void run() {
|
||||
if (!selectCard(false)) {
|
||||
//if no cards in stack can be selected, just show zoom/details for card
|
||||
showZoom();
|
||||
FThreads.invokeInEdtLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
showZoom();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user