mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Bug 397636 : Editing the SRecord Exporter length field fill it in with the
end address.
This commit is contained in:
parent
1131bb801d
commit
fb5f1bd39d
1 changed files with 1 additions and 5 deletions
|
@ -239,7 +239,6 @@ public class SRecordExporter implements IMemoryExporter
|
|||
{
|
||||
fStartText.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_RED));
|
||||
validate();
|
||||
//fParentDialog.setValid(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -267,7 +266,6 @@ public class SRecordExporter implements IMemoryExporter
|
|||
{
|
||||
fEndText.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_RED));
|
||||
validate();
|
||||
//fParentDialog.setValid(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -284,9 +282,8 @@ public class SRecordExporter implements IMemoryExporter
|
|||
String endString = "0x" + getStartAddress().add(length).toString(16); //$NON-NLS-1$
|
||||
if(!fEndText.getText().equals(endString)) {
|
||||
if ( ! length.equals( BigInteger.ZERO ) ) {
|
||||
fLengthText.setText(endString);
|
||||
fEndText.setText(endString);
|
||||
}
|
||||
fEndText.setText(endString);
|
||||
}
|
||||
validate();
|
||||
}
|
||||
|
@ -294,7 +291,6 @@ public class SRecordExporter implements IMemoryExporter
|
|||
{
|
||||
fLengthText.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_RED));
|
||||
validate();
|
||||
//fParentDialog.setValid(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue