diff options
author | Jonatan Kronqvist <jonatan.kronqvist@itmill.com> | 2010-07-07 13:15:28 +0000 |
---|---|---|
committer | Jonatan Kronqvist <jonatan.kronqvist@itmill.com> | 2010-07-07 13:15:28 +0000 |
commit | e34d7c8aca65a7b02bbd419dc5cd45ec0149e585 (patch) | |
tree | 4c32b0c80fdcf517e3d3a2e7dfc4308ba399ff76 /src | |
parent | ae44327e3b26f29baa947adc76128fd00c4d20cf (diff) | |
download | vaadin-framework-e34d7c8aca65a7b02bbd419dc5cd45ec0149e585.tar.gz vaadin-framework-e34d7c8aca65a7b02bbd419dc5cd45ec0149e585.zip |
Fix for #5060
svn changeset:14146/svn branch:6.4
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java index 7372d6610f..cb99bc590d 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java @@ -1327,7 +1327,11 @@ public class VFilterSelect extends Composite implements Paintable, Field, setPromptingOff(text); selectedOptionKey = currentSuggestion.key; } else { - setPromptingOn(); + if (focused) { + setPromptingOff(""); + } else { + setPromptingOn(); + } selectedOptionKey = null; } lastFilter = ""; |