[333695] Snippets customization dialog can get into an infinite error loop
diff --git a/org.eclipse.wst.common.snippets/src/org/eclipse/wst/common/snippets/internal/palette/SnippetCustomizerDialog.java b/org.eclipse.wst.common.snippets/src/org/eclipse/wst/common/snippets/internal/palette/SnippetCustomizerDialog.java
index 9926388..07ea690 100644
--- a/org.eclipse.wst.common.snippets/src/org/eclipse/wst/common/snippets/internal/palette/SnippetCustomizerDialog.java
+++ b/org.eclipse.wst.common.snippets/src/org/eclipse/wst/common/snippets/internal/palette/SnippetCustomizerDialog.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2009 IBM Corporation and others.
+ * Copyright (c) 2004, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -61,6 +61,14 @@
static EXPORT_IMPORT_STRATEGY XML = new EXPORT_IMPORT_STRATEGY();
}
+ /* (non-Javadoc)
+ * @see org.eclipse.gef.ui.palette.customize.PaletteCustomizerDialog#handleDelete()
+ */
+ protected void handleDelete() {
+ clearProblem();
+ super.handleDelete();
+ }
+
private class ExportAction extends PaletteCustomizationAction {
public ExportAction() {
setEnabled(false);