Revision 6c8dc8d3
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/e4/handler/CreateChildNodeHandlerE4.java | ||
---|---|---|
43 | 43 |
PolytomousKey pk = editor.getViewerInputKey(); |
44 | 44 |
String label = menuItem.getLocalizedLabel(); |
45 | 45 |
IUndoContext undoContext = EditorUtil.getUndoContext(); |
46 |
|
|
46 |
editor.changed(null); |
|
47 | 47 |
|
48 | 48 |
AbstractPostOperation operation = new CreateNodeOperation( |
49 | 49 |
label, undoContext, pk.getRoot(), editor); |
... | ... | |
55 | 55 |
|
56 | 56 |
PolytomousKeyNode keyNode = (PolytomousKeyNode) selection |
57 | 57 |
.getFirstElement(); |
58 |
|
|
58 |
editor.changed(null); |
|
59 | 59 |
AbstractPostOperation operation = new CreateNodeOperation( |
60 | 60 |
label, undoContext, keyNode, editor); |
61 | 61 |
AbstractUtility.executeOperation(operation, sync); |
Also available in: Unified diff
ref #6908: set dirty flag in polytomous key node editor for all operations