From: Juergen Spitzmueller Date: Thu, 4 Apr 2019 06:23:27 +0000 (+0200) Subject: Initialize TabularCreate dialog enabled. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e33787927ea9a9a6f1f0316a193f234ab2300208;p=features.git Initialize TabularCreate dialog enabled. As pointed out in #10105. --- diff --git a/src/frontends/qt4/GuiTabularCreate.cpp b/src/frontends/qt4/GuiTabularCreate.cpp index 437a6d30c7..1f5e36ec4d 100644 --- a/src/frontends/qt4/GuiTabularCreate.cpp +++ b/src/frontends/qt4/GuiTabularCreate.cpp @@ -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; }