[LyX/2.3.x] Disable editing of math package names in Document Settings

Juergen Spitzmueller spitz at lyx.org
Sat Aug 15 05:26:04 UTC 2020


commit e3789263ef952fa49b80ec6b667163c5067c8f3a
Author: Yuriy Skalko <yuriy.skalko at gmail.com>
Date:   Tue Aug 11 11:48:24 2020 +0300

    Disable editing of math package names in Document Settings
    
    (cherry picked from commit e1dd91e10e3f76b4bd47c8d7133ad7318edf04f1)
---
 src/frontends/qt4/ui/MathsUi.ui |    3 +++
 status.23x                      |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/frontends/qt4/ui/MathsUi.ui b/src/frontends/qt4/ui/MathsUi.ui
index 4258819..e30f970 100644
--- a/src/frontends/qt4/ui/MathsUi.ui
+++ b/src/frontends/qt4/ui/MathsUi.ui
@@ -22,6 +22,9 @@
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
+     <property name="editTriggers">
+      <set>QAbstractItemView::NoEditTriggers</set>
+     </property>
      <property name="alternatingRowColors">
       <bool>true</bool>
      </property>
diff --git a/status.23x b/status.23x
index eb20622..aeee861 100644
--- a/status.23x
+++ b/status.23x
@@ -86,6 +86,9 @@ What's new
 
 - Fix counter in bibliography inset (bug 11920).
 
+- Do not allow editing of math package list in Document > Settings > Math Options,
+  thus preventing a crash (bug 11931).
+
 
 * INTERNALS
 


More information about the lyx-cvs mailing list