commit | 5c594226de667ed39aebacc4bee05b9a382e2387 | [log] [tgz] |
---|---|---|
author | Olivier Prouvost <olivier.prouvost@opcoach.com> | Thu Mar 08 13:53:50 2018 +0100 |
committer | Olivier Prouvost <olivier.prouvost@opcoach.com> | Thu Mar 08 13:53:50 2018 +0100 |
tree | 7511d6361b8c57666c5a879a77342b387fd1c761 | |
parent | 5f8e9333aee715c425e8ed7af772e1505cd6c9c6 [diff] |
Bug 429684 - Application Model Editor does not display element after Undo operation Fixed the warning. Change-Id: Iea6841076cdc30f53835cc22446dc6299d8b9c82 Signed-off-by: Olivier Prouvost <olivier.prouvost@opcoach.com>
diff --git a/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/UndoAction.java b/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/UndoAction.java index 26313dd..57c5bb3 100644 --- a/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/UndoAction.java +++ b/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/UndoAction.java
@@ -49,8 +49,6 @@ } } - private static int cpt = 0; - private void update() { if (resource.getEditingDomain().getCommandStack().canUndo()) { Command undoCommand = resource.getEditingDomain().getCommandStack()