Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Weigelt2012-03-27 10:10:10 +0000
committerMichael Jastram2012-04-05 10:34:52 +0000
commit59547cccd2e327f419fe85f4f25cb00eb18b7d85 (patch)
treee56bae2c28ee8030ca0f7b15ef29fa96d86a1ed4
parent374efc81cb924cb923031fab2d15ab87c679b2e4 (diff)
downloadorg.eclipse.rmf-59547cccd2e327f419fe85f4f25cb00eb18b7d85.tar.gz
org.eclipse.rmf-59547cccd2e327f419fe85f4f25cb00eb18b7d85.tar.xz
org.eclipse.rmf-59547cccd2e327f419fe85f4f25cb00eb18b7d85.zip
Bugfix: A SWTException was thrown when deleting a SpecHierarchy
-rw-r--r--org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrCellEditor.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrCellEditor.java b/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrCellEditor.java
index d2fe6bf3..e15dd7b6 100644
--- a/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrCellEditor.java
+++ b/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrCellEditor.java
@@ -140,7 +140,7 @@ public abstract class ProrCellEditor extends TextCellEditor {
public void activate(EditorActivationEvent activationEvent) {
if (activationEvent.sourceEvent instanceof KeyEvent) {
KeyEvent keyEvent = (KeyEvent) activationEvent.sourceEvent;
- if (isValidCellEditorCharacter(keyEvent)) {
+ if (isValidCellEditorCharacter(keyEvent) && keyEvent.character != SWT.DEL) {
text.setText("" + keyEvent.character);
// this.fireApplyEditorValue();
super.activate(activationEvent);
@@ -149,7 +149,6 @@ public abstract class ProrCellEditor extends TextCellEditor {
}
}
super.activate(activationEvent);
- text.selectAll();
}
/**

Back to the top