[LyX/master] Fix nesting of return value

Juergen Spitzmueller spitz at lyx.org
Tue Sep 8 13:30:48 UTC 2026


commit 2dfa3da1980c9975aa994deb5ac398ec15237c0b
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Tue Sep 8 15:30:18 2026 +0200

    Fix nesting of return value
---
 src/insets/InsetTabular.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index 342ce95bda..8d9fbe8f0c 100644
--- a/src/insets/InsetTabular.cpp
+++ b/src/insets/InsetTabular.cpp
@@ -6901,9 +6901,9 @@ bool InsetTabular::getStatus(Cursor & cur, FuncRequest const & cmd,
 						return true;
 					}
 				}
-				status.setEnabled(true);
-				return true;
 			}
+			status.setEnabled(true);
+			return true;
 		} else
 			return cell(cur.idx())->getStatus(cur, cmd, status);
 		break;


More information about the lyx-cvs mailing list