[ 1730452 ] Autocompletion on comboboxes
- minor bugfix, discover after further testing
This commit is contained in:
parent
4dc41bde4e
commit
3be5e7907b
|
@ -442,17 +442,17 @@ public class VLookup extends JComponent
|
||||||
// Set both for switching
|
// Set both for switching
|
||||||
if (value == null)
|
if (value == null)
|
||||||
{
|
{
|
||||||
|
m_combo.setValue (value);
|
||||||
m_text.setText (null);
|
m_text.setText (null);
|
||||||
m_lastDisplay = "";
|
m_lastDisplay = "";
|
||||||
m_combo.setValue (value);
|
|
||||||
m_settingValue = false;
|
m_settingValue = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (m_lookup == null)
|
if (m_lookup == null)
|
||||||
{
|
{
|
||||||
|
m_combo.setValue (value);
|
||||||
m_text.setText (value.toString());
|
m_text.setText (value.toString());
|
||||||
m_lastDisplay = value.toString();
|
m_lastDisplay = value.toString();
|
||||||
m_combo.setValue (value);
|
|
||||||
m_settingValue = false;
|
m_settingValue = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue