[LyX/master] Add missing counter code

Juergen Spitzmueller spitz at lyx.org
Fri May 7 11:28:51 UTC 2021


commit 70bcffca9c7fcd2c6f263ea3e0f0069c8fadd877
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Fri May 7 13:38:43 2021 +0200

    Add missing counter code
---
 src/Text3.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/Text3.cpp b/src/Text3.cpp
index 22253f2..dce6032 100644
--- a/src/Text3.cpp
+++ b/src/Text3.cpp
@@ -3027,6 +3027,8 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
 			code = BRANCH_CODE;
 		else if (cmd.argument() == "citation")
 			code = CITE_CODE;
+		else if (cmd.argument() == "counter")
+			code = COUNTER_CODE;
 		else if (cmd.argument() == "ert")
 			code = ERT_CODE;
 		else if (cmd.argument() == "external")


More information about the lyx-cvs mailing list