xdebugger: fixed doubling watches node after editing

This commit is contained in:
nik
2011-10-19 17:00:27 +04:00
parent 29097396ed
commit 751cc5aff9
@@ -54,6 +54,7 @@ public class WatchInplaceEditor extends XDebuggerTreeInplaceEditor {
}
public void cancelEditing() {
if (!isShown()) return;
super.cancelEditing();
int index = myRootNode.removeChildNode(getNode());
if (myOldNode != null) {