Reduce the time spend when nomenclature table is created automatically

This commit is contained in:
Claveau Joshua
2020-05-26 22:00:32 +02:00
parent 5772d919e3
commit 75e6f28221
2 changed files with 35 additions and 16 deletions

View File

@@ -32,7 +32,7 @@ class QetGraphicsTableFactory
static void createAndAddNomenclature(Diagram *diagram);
private:
static QetGraphicsTableItem *newTable(Diagram *diagram, AddTableDialog *dialog);
static QetGraphicsTableItem *newTable(Diagram *diagram, AddTableDialog *dialog, QetGraphicsTableItem *previous_table = nullptr);
static void AdjustTableToFolio(QetGraphicsTableItem *table);
};