commit 748e489fbc4164142e127b6f42f227bc54e39b86
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Aug 3 10:13:22 2025 +0200

    GuiRef: disable range/list selector in mathed (see #13179)
---
 src/frontends/qt/GuiRef.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontends/qt/GuiRef.cpp b/src/frontends/qt/GuiRef.cpp
index dca912c9f1..2b7dd7ce40 100644
--- a/src/frontends/qt/GuiRef.cpp
+++ b/src/frontends/qt/GuiRef.cpp
@@ -187,7 +187,7 @@ void GuiRef::enableBoxes()
        refOptionsLE->setEnabled(use_zref && (isFormatted || zref_clever));
        refOptionsLA->setEnabled(use_zref && (isFormatted || zref_clever));
        bool const allow_range_list_switch = selectedLV->topLevelItemCount() == 
2
-               && (isFormatted || reftype == "cpageref") && !use_prettyref;
+               && (isFormatted || reftype == "cpageref") && !use_prettyref && 
intext;
        if (reftype == "vref" || reftype == "vpageref")
                rangeListCO->setCurrentIndex(rangeListCO->findData("range"));
        rangeListCO->setEnabled(allow_range_list_switch);
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to