Patch attached. Ok to apply? Angus On Tuesday 15 October 2002 9:00 am, Angus Leeming wrote: > On Tuesday 15 October 2002 4:57 am, John Levon wrote: > > On Thu, Sep 19, 2002 at 05:12:00PM -0400, Dr. Richard E. > > Hawkins wrote: > > > The insert citation dialog has a similar problem to the > > > export-custom dialog. > > > > > > Make a new citation, select something from the list, and > > > close. The inset now has nothing (it really seems to me > > > that the selected cite should somehow default over there; > > > there's far too much mousing here). > > > > > > Open the inset, and the selection is still highlighted, > > > but the arrow to use it isn't available. > > > > Does this bug still exist ? > > Yes. I'll have a look. > Angus
Index: src/frontends/xforms/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.561 diff -u -p -r1.561 ChangeLog --- src/frontends/xforms/ChangeLog 14 Oct 2002 20:27:28 -0000 1.561 +++ src/frontends/xforms/ChangeLog 15 Oct 2002 08:46:07 -0000 @@ -1,3 +1,8 @@ +2002-10-14 Angus Leeming <[EMAIL PROTECTED]> + + * FormCitation.C (updateBrowser): deselect the highlighted item when + updating the browser. + 2002-10-14 Dekel Tsur <[EMAIL PROTECTED]> * FontInfo.C (query): Ignore bogus matches of scalable fonts. Index: src/frontends/xforms/FormCitation.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormCitation.C,v retrieving revision 1.80 diff -u -p -r1.80 FormCitation.C --- src/frontends/xforms/FormCitation.C 9 Sep 2002 09:49:47 -0000 1.80 +++ src/frontends/xforms/FormCitation.C 15 Oct 2002 08:46:07 -0000 @@ -471,8 +471,11 @@ void FormCitation::updateBrowser(FL_OBJE // changed by loading the contents of the vec... vector<string> 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);