Revision 5109
trunk/extensions/extCAD/src/com/iver/cit/gvsig/EditingExtension.java | ||
---|---|---|
40 | 40 |
for (int j = 0; j < views.length; j++) { |
41 | 41 |
if (views[j] instanceof Table) { |
42 | 42 |
Table table = (Table) views[j]; |
43 |
if (table.getModel().getAssociatedTable().equals(lv)) { |
|
43 |
if (table.getModel().getAssociatedTable()!=null && table.getModel().getAssociatedTable().equals(lv)) {
|
|
44 | 44 |
try { |
45 | 45 |
table.cancelEditing(); |
46 | 46 |
} catch (IOException e) { |
Also available in: Unified diff