Bug 41927 [Dialogs] Selecting in PreferenceDialog generates too many invalid entries
20030825 If you select an entry, close the dialog and then reopen it selecting anotehr entry will result in a "this page has invalid values" although you selected nothing.
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
}
					}
					private void handleError() {
						showPageFlippingAbortDialog();
						selectCurrentPageAgain();
						clearSelectedNode();
					}
				});
			}
		});
		eventAdapter.addSelectionListener(new SelectionAdapter() {
			public void widgetDefaultSelected(final SelectionEvent event) {
				TreeItem[] selection = tree.getSelection();
				if (selection.length > 0)
					selection[0].setExpanded(!selection[0].getExpanded());
			}
		});
		
		tree.addHelpListener(new HelpListener() {
			public void helpRequested(HelpEvent event) {
				
				if (currentPage != null) {
					currentPage.performHelp();
				}
			}
		});
		IPreferenceNode node = preferenceManager.getRoot();
		IPreferenceNode[] subnodes = node.getSubNodes();
		tree.setFont(parent.getFont());
		for (int i = 0; i < subnodes.length; i++) {