Skip to content

Commit

Permalink
- Summary:
Browse files Browse the repository at this point in the history
 DateTime type parameter format changes and
becomes invalid when reopen parameter dialog in desktop viewer.

Description:.
Fixed,  Used the same formatter to format the date
  • Loading branch information
Xusong Yuan committed Aug 23, 2012
1 parent 2f64a73 commit 10055a5
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -352,7 +352,12 @@ public void initDialog( )
// txtDisplayName.setFocus( );
// initiate function firstly then data type field.
// Expression gets the comment.
txtExpression.setFocus( );
if(txtExpression!=null&&!txtExpression.isDisposed())//add if/else block to fix TED 52776:NPE thrown
{
txtExpression.setFocus( );
}else{
txtDisplayName.setFocus( );
}
if ( isAggregate( ) )
{
initFunction( );
Expand Down

0 comments on commit 10055a5

Please sign in to comment.