Skip to content

Commit

Permalink
Update DefaultStockEditorDialog.java
Browse files Browse the repository at this point in the history
  • Loading branch information
nicho92 authored Nov 20, 2024
1 parent 3f1e3ff commit 1b162c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public DefaultStockEditorDialog() {
cboConditions.addItemListener(ie->
{
if(ie.getStateChange()==ItemEvent.SELECTED)
magicCardStock.setCondition(EnumCondition.valueOf(cboConditions.getSelectedItem().toString()));
magicCardStock.setCondition((EnumCondition)cboConditions.getSelectedItem());

});

Expand Down

0 comments on commit 1b162c9

Please sign in to comment.