summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid McMackins II <contact@mcmackins.org>2016-10-03 12:22:08 -0500
committerDavid McMackins II <contact@mcmackins.org>2016-10-03 12:22:08 -0500
commitaee107e2afb676aa92ed82aca46cbfc8a6fb3585 (patch)
treece9b0cc6f5108f6461985f03376dded8245e5ee5
parent08d24abafbadd1e1fc6a963bac05c6b8456277fa (diff)
Remove redundant addition
-rw-r--r--src/com/delwink/icebox/swing/InventoryItemEditor.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/delwink/icebox/swing/InventoryItemEditor.java b/src/com/delwink/icebox/swing/InventoryItemEditor.java
index 777f448..dbdf47e 100644
--- a/src/com/delwink/icebox/swing/InventoryItemEditor.java
+++ b/src/com/delwink/icebox/swing/InventoryItemEditor.java
@@ -64,7 +64,6 @@ public class InventoryItemEditor extends JDialog {
public void actionPerformed(ActionEvent e) {
InventoryItem item = new InventoryItem(INVENTORY.getNextID());
ADDED.add(item);
- INVENTORY.addNewItem(item);
}
});