Skip to content

Commit 808ea12

Browse files
authored
bug fix
1 parent bd4ce74 commit 808ea12

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/gui/MainFrame.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public MainFrame()
4444
refresh = new JButton("Refresh");
4545
this.add(refresh, new GBC(1,0,1,1));
4646
refresh.addActionListener(event -> {
47+
ByteArray buffer = array;
4748
EEPROMsAvailable = EEPROM.getEEPROMsList();
4849
this.remove(table);
4950
this.remove(es);
@@ -52,6 +53,8 @@ public MainFrame()
5253
this.add(es, new GBC(0,0,1,1));
5354
this.add(table, new GBC(0,1,2,1));
5455
this.revalidate();
56+
this.array = buffer;
57+
buffer = null;
5558
});
5659
table = new Table();
5760
this.add(table, new GBC(0,1,2,1));

0 commit comments

Comments
 (0)