[LyX/master] Fix copy-paste error (#12092)
Juergen Spitzmueller
spitz at lyx.org
Tue Jan 26 13:48:37 UTC 2021
commit 27e7eb4b147274ca420a28bf530bc7aadd003c31
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Tue Jan 26 14:48:12 2021 +0100
Fix copy-paste error (#12092)
---
src/insets/InsetTabular.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index b864ff5..10f57ba 100644
--- a/src/insets/InsetTabular.cpp
+++ b/src/insets/InsetTabular.cpp
@@ -5573,8 +5573,8 @@ bool InsetTabular::getFeatureStatus(Cursor & cur, string const & s,
if (action == Tabular::MOVE_COLUMN_RIGHT ||
action == Tabular::MOVE_COLUMN_LEFT) {
bool has_multicol = (action == Tabular::MOVE_COLUMN_RIGHT)
- ? tabular.hasMultiRow(ce + 1)
- : tabular.hasMultiRow(cs - 1);
+ ? tabular.hasMultiColumn(ce + 1)
+ : tabular.hasMultiColumn(cs - 1);
for (col_type c = cs; c <= ce; ++c) {
if (tabular.hasMultiColumn(c)) {
has_multicol = true;
More information about the lyx-cvs
mailing list