mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-29 22:30:00 +02:00
Minor fix
Fix : During the opening of a project, if the project contain a nomenclature, the dialog used to inform user that the table is too small is displayed
This commit is contained in:
@@ -96,7 +96,9 @@ void QetGraphicsTableItem::checkInsufficientRowsCount(QetGraphicsTableItem *tabl
|
||||
|
||||
if (count_ < first_table->model()->rowCount())
|
||||
{
|
||||
QWidget *parent = first_table->diagram()->views().first() ? first_table->diagram()->views().first() : nullptr;
|
||||
QWidget *parent = nullptr;
|
||||
if (first_table->diagram() && first_table->diagram()->views().size())
|
||||
parent = first_table->diagram()->views().first();
|
||||
|
||||
QString text;
|
||||
if (several_table) {
|
||||
|
||||
Reference in New Issue
Block a user