Bug 113938 Report is marked dirty when open/close cascading parameter dialog without doing any operation on it
description: Report is marked dirty when open/close cascading parameter dialog without doing any operation on it steps to reproduce: 1.new a cascading parameter group 2.save the reprot 3.double click the cascading parameter to bring out edit box 4.click OK to close edit box actual result: Report has been marked dirty expected result: No dirty marked for that no operations done in edit parameter dialog
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/CascadingParametersDialog.java
paramNames.add( name );
					}
					inputParameters.add( newParameter );
					clearNewParameter( );
					valueTable.refresh( );
				}
			}
			refreshValueTable( );
			refreshParameterProperties( );
			updateButtons( );
		}
	};
	private void clearNewParameter( )
	{
		newParameter = null;
	}
	protected int getTableIndex( Object element )
	{
		Object[] input = ( (IStructuredContentProvider) valueTable.getContentProvider( ) ).getElements( valueTable.getInput( ) );
		int index = 0;
		if ( element != newParameter )
		{
			for ( int i = 0; i < input.length; i++ )
			{
				if ( element == input[i] )
				{
					index = i;
					break;
				}
			}