Bug 339347 [Markers] Can't toggle item limits in Problems view any more without losing limit
I20110308-2000 I can't toggle item limits in Problems view any more without losing limits. After I've disabled the limits, the next time I enable limits, the value is "1". The stored value should not be changed.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/FiltersConfigurationDialog.java
separator.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
		applyDialogFont(container);
		initUI();
		return container;
	}
	private void initUI() {
		configsTable.setInput(filterGroups);
		IStructuredSelection selection = getInitialSelection();
		configsTable.setSelection(selection);
		if (selection.isEmpty()) {
			setFieldsEnabled(false);
		}
		Iterator iterator = filterGroups.iterator();
		while (iterator.hasNext()) {
			MarkerFieldFilterGroup group = (MarkerFieldFilterGroup) iterator
					.next();
			boolean enabled = group.isEnabled();
			configsTable.setChecked(group, enabled);
		}
		andButton.setSelection(andFilters);
		orButton.setSelection(!andFilters);
		updateRadioButtonsFromTable();
		int limits = generator.getMarkerLimits();
		boolean limitsEnabled = limits != -1;
		limitButton.setSelection(limitsEnabled);
		limitsLabel.setEnabled(limitsEnabled);
		limitSpinner.setEnabled(limitsEnabled);
		if (limitsEnabled)
			limitSpinner.setSelection(limits);
		else