John McCabe-Dansted wrote:
> Sample output of four new bugs occuring at the latest branch r30978 is at:
>   http://gmatht.homelinux.net/xp/out/html4/indexreport.html

The GuiSymbols crashes (which I cannot reproduce) are the result of the fact 
that you can access the Symbols dialog with read-only buffers. This was an 
oversight of me, the attached patch fixes that.

Jürgen
Index: src/frontends/qt4/GuiView.cpp
===================================================================
--- src/frontends/qt4/GuiView.cpp	(Revision 30979)
+++ src/frontends/qt4/GuiView.cpp	(Arbeitskopie)
@@ -1210,7 +1210,7 @@
 			}
 		}
 		else if (name == "symbols") {
-			if (!view() || view()->cursor().inMathed())
+			if (buf->isReadonly() || !view() || view()->cursor().inMathed())
 				enable = false;
 			else {
 				InsetCode ic = view()->cursor().inset().lyxCode();

Reply via email to