On 01/05/2010 05:55 AM, Jürgen Spitzmüller wrote:
Vincent van Ravesteijn - TNW wrote:
New Revision: 32694
URL:<http://www.lyx.org/trac/changeset/32694>
http://www.lyx.org/trac/changeset/32694
<http://www.lyx.org/trac/changeset/32694Log>
Log: Update the view also when the document is read-only.
Did you check why the condition you removed was introduced?
I think it was there just because people didn't see why dialogs that
don't apply to read-only documents should be updated. The bug was found
by Bo: In e.g. the User Guide, you might want to right click on an
InsetInfo to see the corresponding data, even though you can't change it.
FWIW, it seems to me that this not a good interface. Any data the user
wants to see should be otherwise available without going to the dialog,
say, via a tooltip. But you definitely don't expect to see an empty
dialog, so Vincent's fix is right, given that we are going to display
the dialog at all.
Richard