* [ 1795685 ] Don't populate readonly lookup

- Fixed bug reported by Teo.
This commit is contained in:
Heng Sin Low 2007-09-17 01:37:17 +00:00
parent 43f834d00e
commit f760078ce4
1 changed files with 5 additions and 0 deletions

View File

@ -354,6 +354,11 @@ public class VLookup extends JComponent
{
m_combo.setReadWrite(rw);
setUI (false);
if (value && m_comboActive) {
m_settingValue = true; // disable actions
refresh();
m_settingValue = false;
}
if (m_comboActive)
setValue (m_value);
}