diff options
author | Randy Rohrbach | 2013-01-07 22:48:41 +0000 |
---|---|---|
committer | Randy Rohrbach | 2013-01-07 22:56:47 +0000 |
commit | fb5f1bd39db76db409626eee2f46cde13c9d7784 (patch) | |
tree | f6867a3fdd9acafc7c5f1a5dfa066e03fb39cdab /memory | |
parent | 1131bb801d76a156fcb79a6997c243cc9bd2eff8 (diff) | |
download | org.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.java | 6 |
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); } } |