forked from External/mage
* Some connection handling changes.
This commit is contained in:
parent
54d43d30ab
commit
8ac8d36c03
3 changed files with 6 additions and 4 deletions
|
|
@ -305,7 +305,7 @@ public class MageActionCallback implements ActionCallback {
|
|||
}
|
||||
|
||||
private void sort(CardPanel card, JPanel container, boolean sortSource) {
|
||||
java.util.List<CardPanel> cards = new ArrayList<CardPanel>();
|
||||
java.util.List<CardPanel> cards = new ArrayList<>();
|
||||
for (Component component : container.getComponents()) {
|
||||
if (component instanceof CardPanel) {
|
||||
if (!component.equals(card)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue