mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
fix issu with multiple selection being added every time updated
This commit is contained in:
parent
435ce4dba7
commit
6e6d26eabb
1 changed files with 8 additions and 0 deletions
|
|
@ -1488,9 +1488,17 @@ public class CardSelector extends javax.swing.JPanel implements ComponentListene
|
|||
{
|
||||
String message=String.format("%s:%d",TEST_MULTI_SET,choiseValue.length);
|
||||
|
||||
|
||||
|
||||
cbExpansionSet.insertItemAt(message, 0);
|
||||
cbExpansionSet.setSelectedIndex(0);
|
||||
|
||||
if(cbExpansionSet.getItemAt(1).contains(TEST_MULTI_SET))
|
||||
{
|
||||
cbExpansionSet.removeItemAt(1);
|
||||
}
|
||||
|
||||
|
||||
//listCodeSelected.setChecked(index-1, true);
|
||||
//cbExpansionSet.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue