Send signal haveLiteChange when add or remove row in table.
--HG-- branch : develop
This commit is contained in:
parent
1f89b0038a
commit
33a98de0d1
|
@ -315,6 +315,7 @@ void DialogIncrements::clickedToolButtonAdd(){
|
||||||
ui->toolButtonRemove->setEnabled(true);
|
ui->toolButtonRemove->setEnabled(true);
|
||||||
connect(ui->tableWidgetIncrement, &QTableWidget::cellChanged, this,
|
connect(ui->tableWidgetIncrement, &QTableWidget::cellChanged, this,
|
||||||
&DialogIncrements::cellChanged);
|
&DialogIncrements::cellChanged);
|
||||||
|
emit haveLiteChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DialogIncrements::clickedToolButtonRemove(){
|
void DialogIncrements::clickedToolButtonRemove(){
|
||||||
|
@ -336,6 +337,7 @@ void DialogIncrements::clickedToolButtonRemove(){
|
||||||
}
|
}
|
||||||
connect(ui->tableWidgetIncrement, &QTableWidget::cellChanged, this,
|
connect(ui->tableWidgetIncrement, &QTableWidget::cellChanged, this,
|
||||||
&DialogIncrements::cellChanged);
|
&DialogIncrements::cellChanged);
|
||||||
|
emit haveLiteChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DialogIncrements::AddIncrementToFile(qint64 id, QString name, qreal base, qreal ksize,
|
void DialogIncrements::AddIncrementToFile(qint64 id, QString name, qreal base, qreal ksize,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user