Skip to content

Commit

Permalink
- remove unused selection inversion code
Browse files Browse the repository at this point in the history
  • Loading branch information
derreisende77 committed Oct 31, 2024
1 parent 6386ac4 commit 8aa7245
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/main/java/mediathek/tool/table/MVTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,6 @@ public void setLineBreak(boolean lb) {
lineBreak = lb;
}

public void invertSelection() {
final ListSelectionModel mdl = getSelectionModel();
final int[] selected = getSelectedRows();
mdl.setValueIsAdjusting(true);
mdl.setSelectionInterval(0, getRowCount() - 1);
for (int i : selected) {
mdl.removeSelectionInterval(i, i);
}
mdl.setValueIsAdjusting(false);
}

/**
* Return a fictious size of a multi-line text area.
* @return The fictious size of a multi-line label.
Expand Down

0 comments on commit 8aa7245

Please sign in to comment.