Révision 3465
TXM/trunk/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/parameters/ParametersDialog.java (revision 3465) | ||
---|---|---|
420 | 420 |
|
421 | 421 |
// set default value in the fields, not enough if args contains the value |
422 | 422 |
String value = defaultValues.getProperty(option.name()); |
423 |
String value2 = ""+args.get(option.name()); |
|
423 |
String value2 = null; |
|
424 |
if (args.get(option.name()) != null) { |
|
425 |
value2 = ""+args.get(option.name()); |
|
426 |
} |
|
424 | 427 |
if (value != null) { // set the default value using the properties stored |
425 | 428 |
widget.setDefault(value); |
426 | 429 |
} else if (value2 != null) { // set the default value using the properties stored |
Formats disponibles : Unified diff