v...@lyx.org schreef:
Author: vfr
Date: Thu Feb 19 00:45:00 2009
New Revision: 28547

URL: http://www.lyx.org/trac/changeset/28547
Log:
Fix bug 5785: http://bugzilla.lyx.org/show_bug.cgi?id=5785.
Reference dialog update crash for read-only documents.

Comments:
* -1 is a valid return of bufferCO->currentIndex() so we need to test for it.
* set the correct enabling of the button in case no call to updateContents 
follows.
* remove unneeded call to setFocusProxy. The widget is either disabled or the 
focus proxy is set in updateRefs.

Also for branch ?

Vincent

Reply via email to