commit 8ef47ae9ec177d119a290c693c9dd551219f377f
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Aug 3 11:06:26 2025 +0200

    Hide equations from xref targets
    
    LFUN_REFERENCE_TO_PARAGRAPH does not work yet with math
---
 src/frontends/qt/GuiRef.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/frontends/qt/GuiRef.cpp b/src/frontends/qt/GuiRef.cpp
index 2b7dd7ce40..63b7332ce0 100644
--- a/src/frontends/qt/GuiRef.cpp
+++ b/src/frontends/qt/GuiRef.cpp
@@ -555,8 +555,9 @@ void GuiRef::updateTargets()
                                
targetCO->addItem(toqstr(translateIfPossible(name.second)), toqstr(name.first));
                }
        }
-       if (isTargetAvailable("equation"))
-               targetCO->addItem(qt_("Equations"), "equation");
+// FIXME This does not work yet with REFERENCE_TO_PARAGRAPH
+//     if (isTargetAvailable("equation"))
+//             targetCO->addItem(qt_("Equations"), "equation");
        // restore previous setting
        int const i = targetCO->findData(target);
        if (i != -1)
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to