Fixed ParseTableFromText to correctly count columns for single line tables

This commit is contained in:
Rich 2014-10-16 11:44:22 +00:00
parent eae4e95c0a
commit 3e953c5c21

View File

@ -3882,6 +3882,7 @@ namespace Volian.Controls.Library
maxRow = curRow; // +1;
curRow = 0;
curCol = 0;
if (maxcol == 0) maxCol = dicCols.Count;
// The resulting Table Grid size in rows and columns
this.Cols.Count = maxCol + 1;
this.Rows.Count = maxRow + 1;