Skip to content

Commit

Permalink
Update GenericTableModel.java
Browse files Browse the repository at this point in the history
  • Loading branch information
nicho92 authored Jan 28, 2025
1 parent cd0e04f commit 980a22a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/main/java/org/magic/gui/abstracts/GenericTableModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class GenericTableModel<T> extends AbstractTableModel {
private String[] columns;
protected transient Logger logger = MTGLogger.getLogger(this.getClass());
protected boolean writable=false;
protected boolean changed=false;
private boolean changed=false;
private int[] hiddenColumns = new int[0];


Expand Down Expand Up @@ -187,7 +187,11 @@ public void removeRows(List<Integer> selectedRows) {
removeRow(i);
}



public boolean isWritable() {
return writable;
}


@Override
public int getRowCount() {
Expand Down

0 comments on commit 980a22a

Please sign in to comment.