commit ab450346b5f0a2f03438696dc5237352ffa84c02
Author: Juergen Spitzmueller <[email protected]>
Date:   Tue Jun 26 10:51:16 2018 +0200

    Handle correctly zero table special arguments.
    
    Fixes: #10247
---
 src/frontends/qt4/GuiTabular.cpp |    3 ++-
 status.23x                       |    3 +++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt4/GuiTabular.cpp b/src/frontends/qt4/GuiTabular.cpp
index 71be308..645b774 100644
--- a/src/frontends/qt4/GuiTabular.cpp
+++ b/src/frontends/qt4/GuiTabular.cpp
@@ -33,6 +33,7 @@
 
 #include "support/convert.h"
 #include "support/debug.h"
+#include "support/lstrings.h"
 
 #include <QCheckBox>
 #include <QPushButton>
@@ -560,7 +561,7 @@ docstring GuiTabular::dialogToParams() const
 
        // apply the special alignment
        string special = fromqstr(specialAlignmentED->text());
-       if (special.empty())
+       if (support::trim(special).empty())
                special = "none";
        if (multicolumnCB->isChecked())
                setParam(param_str, Tabular::SET_SPECIAL_MULTICOLUMN, special);
diff --git a/status.23x b/status.23x
index fd5326d..4310a1a 100644
--- a/status.23x
+++ b/status.23x
@@ -258,6 +258,9 @@ What's new
 - Honor the syntax highlighting package choice when adding listing params
   without actually inserting a listing (bug 11151).
 
+- Handle correctly zero table special arguments (bug 10247).
+
+
 * INTERNALS
 
 - Fix bug that TeX files were not detected when reconfiguring LyX 

Reply via email to