Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/memory
diff options
context:
space:
mode:
authorRandy Rohrbach2013-01-07 22:48:41 +0000
committerRandy Rohrbach2013-01-07 22:56:47 +0000
commitfb5f1bd39db76db409626eee2f46cde13c9d7784 (patch)
treef6867a3fdd9acafc7c5f1a5dfa066e03fb39cdab /memory
parent1131bb801d76a156fcb79a6997c243cc9bd2eff8 (diff)
downloadorg.eclipse.cdt-fb5f1bd39db76db409626eee2f46cde13c9d7784.tar.gz
org.eclipse.cdt-fb5f1bd39db76db409626eee2f46cde13c9d7784.tar.xz
org.eclipse.cdt-fb5f1bd39db76db409626eee2f46cde13c9d7784.zip
Bug 397636 : Editing the SRecord Exporter length field fill it in with the
end address.
Diffstat (limited to 'memory')
-rw-r--r--memory/org.eclipse.cdt.debug.ui.memory.transport/src/org/eclipse/cdt/debug/ui/memory/transport/SRecordExporter.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/memory/org.eclipse.cdt.debug.ui.memory.transport/src/org/eclipse/cdt/debug/ui/memory/transport/SRecordExporter.java b/memory/org.eclipse.cdt.debug.ui.memory.transport/src/org/eclipse/cdt/debug/ui/memory/transport/SRecordExporter.java
index f1e7807b101..f5786fb0cb3 100644
--- a/memory/org.eclipse.cdt.debug.ui.memory.transport/src/org/eclipse/cdt/debug/ui/memory/transport/SRecordExporter.java
+++ b/memory/org.eclipse.cdt.debug.ui.memory.transport/src/org/eclipse/cdt/debug/ui/memory/transport/SRecordExporter.java
@@ -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);
}
}

Back to the top