Browse Source

Fixed: table initialization process

MarcinZiabek 3 năm trước cách đây
mục cha
commit
e3ff2960e1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      QuestPDF/Elements/Table/Table.cs

+ 1 - 1
QuestPDF/Elements/Table/Table.cs

@@ -45,7 +45,7 @@ namespace QuestPDF.Elements.Table
         
         private void Initialize()
         {
-            if (!CacheInitialized)
+            if (CacheInitialized)
                 return;
 
             StartingRowsCount = Cells.Select(x => x.Row).DefaultIfEmpty(0).Max();