Revision 9532 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/TableRowsOperations.java
TableRowsOperations.java | ||
---|---|---|
43 | 43 |
showsSelectedRows(table); |
44 | 44 |
if (actionCommand.compareTo("INVERTSELECTION") == 0) |
45 | 45 |
invertSelection(table); |
46 |
table.getModel().setModified(true); |
|
46 | 47 |
} |
47 | 48 |
} |
48 | 49 |
} |
... | ... | |
52 | 53 |
* @param table |
53 | 54 |
*/ |
54 | 55 |
private void invertSelection(Table table) { |
55 |
SelectableDataSource sds = table.getModel().getModelo().getRecordset();
|
|
56 |
SelectableDataSource sds = table.getModel().getModelo().getRecordset(); |
|
56 | 57 |
FBitSet selectedRows=sds.getSelection(); |
57 | 58 |
try { |
58 | 59 |
selectedRows.flip(0, (int)sds.getRowCount()); |
Also available in: Unified diff