diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 1c12bebbd3..76c73d9be4 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,8 @@ +2002-10-15 Angus Leeming + + * FormCitation.C (updateBrowser): deselect the highlighted item when + updating the browser. + 2002-10-14 Dekel Tsur * FontInfo.C (query): Ignore bogus matches of scalable fonts. diff --git a/src/frontends/xforms/FormCitation.C b/src/frontends/xforms/FormCitation.C index 1baba09b8c..fbb0a5313f 100644 --- a/src/frontends/xforms/FormCitation.C +++ b/src/frontends/xforms/FormCitation.C @@ -471,8 +471,11 @@ void FormCitation::updateBrowser(FL_OBJECT * browser, // changed by loading the contents of the vec... vector browser_keys = getVector(browser); - if (browser_keys == keys) + if (browser_keys == keys) { + fl_deselect_browser(browser); + fl_set_browser_topline(browser, 1); return; + } // They will be changed. Proceed. fl_clear_browser(browser);