booktabs trimming: fix some thinkos

This commit is contained in:
Juergen Spitzmueller 2019-04-03 17:18:21 +02:00
parent bf5d5e5d66
commit f60bda37a6
2 changed files with 5 additions and 5 deletions

View File

@ -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");

View File

@ -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 },