Skip to content

Commit 605b668

Browse files
committed
Fix a bug with box delete
1 parent 4ae1390 commit 605b668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/sourceforge/tessboxeditor/GuiWithEdit.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ void jMenuItemDeleteActionPerformed(java.awt.event.ActionEvent evt) {
209209

210210
for (TessBox box : selected) {
211211
int index = this.boxes.toList().indexOf(box);
212-
this.boxes.remove(box);
213212
tableModel.removeRow(index);
213+
this.boxes.remove(box);
214214
}
215215

216216
resetReadout();

0 commit comments

Comments
 (0)