Prevent crash when clicking on card with no active abilities

This commit is contained in:
drdev
2016-01-16 01:32:08 +00:00
parent 9f0699f0b1
commit 21fe639157

View File

@@ -345,7 +345,12 @@ public abstract class VCardDisplayArea extends VDisplayArea implements ActivateH
public void run() { public void run() {
if (!selectCard(false)) { if (!selectCard(false)) {
//if no cards in stack can be selected, just show zoom/details for card //if no cards in stack can be selected, just show zoom/details for card
showZoom(); FThreads.invokeInEdtLater(new Runnable() {
@Override
public void run() {
showZoom();
}
});
} }
} }
}); });