From: Juergen Spitzmueller Date: Wed, 3 Apr 2019 15:18:21 +0000 (+0200) Subject: booktabs trimming: fix some thinkos X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=27b4d591751f3139c4b43789478cced4e03516b4;p=features.git booktabs trimming: fix some thinkos --- diff --git a/src/frontends/qt4/GuiTabular.cpp b/src/frontends/qt4/GuiTabular.cpp index 633982c86f..a09d9df621 100644 --- a/src/frontends/qt4/GuiTabular.cpp +++ b/src/frontends/qt4/GuiTabular.cpp @@ -643,7 +643,7 @@ docstring GuiTabular::dialogToParams() const setParam(param_str, Tabular::SET_RTRIM_TOP, "true"); if (borders->bottomLineLTSet()) setParam(param_str, Tabular::SET_LTRIM_BOTTOM, "false"); - else if (borders->bottomLineRTUnset()) + else if (borders->bottomLineLTUnset()) setParam(param_str, Tabular::SET_LTRIM_BOTTOM, "true"); if (borders->bottomLineRTSet()) setParam(param_str, Tabular::SET_RTRIM_BOTTOM, "false"); diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 82c93935de..d3976fea4a 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -137,10 +137,10 @@ TabularFeature tabularFeature[] = { Tabular::TOGGLE_LINE_BOTTOM, "toggle-line-bottom", false }, { Tabular::TOGGLE_LINE_LEFT, "toggle-line-left", false }, { Tabular::TOGGLE_LINE_RIGHT, "toggle-line-right", false }, - { Tabular::TOGGLE_LTRIM_TOP, "toggle-ltrim-top", true }, - { Tabular::TOGGLE_LTRIM_BOTTOM, "toggle-ltrim-bottom", true }, - { Tabular::TOGGLE_RTRIM_TOP, "toggle-rtrim-top", true }, - { Tabular::TOGGLE_RTRIM_BOTTOM, "toggle-rtrim-bottom", true }, + { Tabular::TOGGLE_LTRIM_TOP, "toggle-ltrim-top", false }, + { Tabular::TOGGLE_LTRIM_BOTTOM, "toggle-ltrim-bottom", false }, + { Tabular::TOGGLE_RTRIM_TOP, "toggle-rtrim-top", false }, + { Tabular::TOGGLE_RTRIM_BOTTOM, "toggle-rtrim-bottom", false }, { Tabular::ALIGN_LEFT, "align-left", false }, { Tabular::ALIGN_RIGHT, "align-right", false }, { Tabular::ALIGN_CENTER, "align-center", false },