]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiTabularCreate.cpp
Use <cstdint> instead of <boost/cstdint.hpp>
[lyx.git] / src / frontends / qt4 / GuiTabularCreate.cpp
index 437a6d30c76293065739f2ae05a46c015500e3bb..1f5e36ec4d25779c8c98405cf8ef0a6305676f8b 100644 (file)
@@ -130,8 +130,8 @@ void GuiTabularCreate::rowsChanged(int)
 
 void GuiTabularCreate::applyView()
 {
-       params_.first = rowsSB->value();
-       params_.second = columnsSB->value();
+       params_.first = ulong(rowsSB->value());
+       params_.second = ulong(columnsSB->value());
 }
 
 
@@ -140,6 +140,7 @@ bool GuiTabularCreate::initialiseParams(string const &)
        params_.first  = 5;
        params_.second = 5;
        style_ = styleCO->itemData(styleCO->currentIndex()).toString();
+       changed();
        return true;
 }