Commit 3c78f0b4 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #34799

parent 57c78f87
...@@ -4042,12 +4042,13 @@ CDocument.prototype.GetChartObject = function(type) ...@@ -4042,12 +4042,13 @@ CDocument.prototype.GetChartObject = function(type)
}; };
CDocument.prototype.AddInlineTable = function(Cols, Rows) CDocument.prototype.AddInlineTable = function(Cols, Rows)
{ {
// TODO: Пересчет нужно перенести сюда, и убрать из контроллеров
if (Cols <= 0 || Rows <= 0) if (Cols <= 0 || Rows <= 0)
return; return;
this.Controller.AddInlineTable(Cols, Rows); this.Controller.AddInlineTable(Cols, Rows);
this.Recalculate();
this.Document_UpdateSelectionState(); this.Document_UpdateSelectionState();
this.Document_UpdateInterfaceState(); this.Document_UpdateInterfaceState();
this.Document_UpdateRulersState(); this.Document_UpdateRulersState();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment