commit f60bda37a608d74a13f6dd34eac6c10b15d18bc5
Author: Juergen Spitzmueller <[email protected]>
Date: Wed Apr 3 17:18:21 2019 +0200
booktabs trimming: fix some thinkos
---
src/frontends/qt4/GuiTabular.cpp | 2 +-
src/insets/InsetTabular.cpp | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/frontends/qt4/GuiTabular.cpp b/src/frontends/qt4/GuiTabular.cpp
index 633982c..a09d9df 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 82c9393..d3976fe 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 },