Bf [2884045] - VLookup behavior when hitting enter on empty text field

http://sourceforge.net/tracker/?func=detail&atid=879332&aid=2884045&group_id=176962
This commit is contained in:
trifonnt 2009-10-22 17:00:09 +00:00
parent 99dcfb7e4e
commit 09474f86aa
1 changed files with 1 additions and 1 deletions

View File

@ -1007,7 +1007,7 @@ public class VLookup extends JComponent
{
String text = m_text.getText();
// Nothing entered, just pressing enter again => ignore - teo_sarca BF [ 1834399 ]
if (text != null && text.equals(m_lastDisplay))
if (text != null && text.length() > 0 && text.equals(m_lastDisplay))
{
log.finest("Nothing entered [SKIP]");
return;