mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Improve ProjectDataBase use
This commit is contained in:
@@ -72,10 +72,8 @@ void QetGraphicsTableFactory::create(Diagram *diagram, AddTableDialog *dialog)
|
||||
QetGraphicsTableItem::adjustTableToFolio(table_);
|
||||
}
|
||||
|
||||
|
||||
//Add new table if needed and option checked
|
||||
dialog->addNewTableToNewDiagram();
|
||||
qDebug() << "model " << table_->model();
|
||||
table_->model()->rowCount();
|
||||
table_->displayNRow();
|
||||
if (dialog->addNewTableToNewDiagram() && table_->model()->rowCount() > table_->displayNRow())
|
||||
|
||||
Reference in New Issue
Block a user