mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +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));
|
fStartText.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_RED));
|
||||||
validate();
|
validate();
|
||||||
//fParentDialog.setValid(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -267,7 +266,6 @@ public class SRecordExporter implements IMemoryExporter
|
||||||
{
|
{
|
||||||
fEndText.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_RED));
|
fEndText.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_RED));
|
||||||
validate();
|
validate();
|
||||||
//fParentDialog.setValid(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -284,9 +282,8 @@ public class SRecordExporter implements IMemoryExporter
|
||||||
String endString = "0x" + getStartAddress().add(length).toString(16); //$NON-NLS-1$
|
String endString = "0x" + getStartAddress().add(length).toString(16); //$NON-NLS-1$
|
||||||
if(!fEndText.getText().equals(endString)) {
|
if(!fEndText.getText().equals(endString)) {
|
||||||
if ( ! length.equals( BigInteger.ZERO ) ) {
|
if ( ! length.equals( BigInteger.ZERO ) ) {
|
||||||
fLengthText.setText(endString);
|
fEndText.setText(endString);
|
||||||
}
|
}
|
||||||
fEndText.setText(endString);
|
|
||||||
}
|
}
|
||||||
validate();
|
validate();
|
||||||
}
|
}
|
||||||
|
@ -294,7 +291,6 @@ public class SRecordExporter implements IMemoryExporter
|
||||||
{
|
{
|
||||||
fLengthText.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_RED));
|
fLengthText.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_RED));
|
||||||
validate();
|
validate();
|
||||||
//fParentDialog.setValid(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue