aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReto Aschwanden2013-05-16 05:24:15 (EDT)
committerStephan Leicht Vogt2013-05-21 05:09:18 (EDT)
commit23cf3d8ac570296bfd43d18da56f5406247eca79 (patch)
treec28174f866f5163e89570c5fe5931ec0dd4e2a1d
parent34477bee40cb85e9dbaf1452a292f4a71f4811b7 (diff)
downloadorg.eclipse.scout.rt-23cf3d8ac570296bfd43d18da56f5406247eca79.zip
org.eclipse.scout.rt-23cf3d8ac570296bfd43d18da56f5406247eca79.tar.gz
org.eclipse.scout.rt-23cf3d8ac570296bfd43d18da56f5406247eca79.tar.bz2
bug 408209: RwtScoutSmartField does not always update scout model in case text is deletedrefs/changes/05/13005/3
https://bugs.eclipse.org/bugs/show_bug.cgi?id=408209 (cherry picked from commit 91198176c826f68349f67de3f6448cc552285344) Change-Id: I0ee9826d11ce09afe60865ab60873dde28e219e8 Reviewed-on: https://git.eclipse.org/r/13005 Tested-by: Hudson CI Reviewed-by: Stephan Leicht Vogt <stephan.leicht@bsiag.com> IP-Clean: Stephan Leicht Vogt <stephan.leicht@bsiag.com>
-rw-r--r--org.eclipse.scout.rt.ui.rap/src/org/eclipse/scout/rt/ui/rap/form/fields/smartfield/RwtScoutSmartField.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.scout.rt.ui.rap/src/org/eclipse/scout/rt/ui/rap/form/fields/smartfield/RwtScoutSmartField.java b/org.eclipse.scout.rt.ui.rap/src/org/eclipse/scout/rt/ui/rap/form/fields/smartfield/RwtScoutSmartField.java
index 760ea17..ae34c5f 100644
--- a/org.eclipse.scout.rt.ui.rap/src/org/eclipse/scout/rt/ui/rap/form/fields/smartfield/RwtScoutSmartField.java
+++ b/org.eclipse.scout.rt.ui.rap/src/org/eclipse/scout/rt/ui/rap/form/fields/smartfield/RwtScoutSmartField.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2011 BSI Business Systems Integration AG.
+ * Copyright (c) 2011,2013 BSI Business Systems Integration AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -555,7 +555,7 @@ public class RwtScoutSmartField extends RwtScoutValueFieldComposite<ISmartField<
if (getUpdateUiFromScoutLock().isAcquired()) {
return;
}
- if (getUiField().isVisible() && getUiField().isFocusControl()) {
+ if (getUiField().isVisible()) {
String text = getUiField().getText();
if (text == null || text.length() == 0) {
// allow empty field without proposal