From 33a98de0d167d9f8630e47612e18977a2b320eaa Mon Sep 17 00:00:00 2001 From: dismine Date: Mon, 14 Oct 2013 15:22:19 +0300 Subject: [PATCH] Send signal haveLiteChange when add or remove row in table. --HG-- branch : develop --- dialogs/dialogincrements.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dialogs/dialogincrements.cpp b/dialogs/dialogincrements.cpp index 19f981d4b..38266a883 100644 --- a/dialogs/dialogincrements.cpp +++ b/dialogs/dialogincrements.cpp @@ -315,6 +315,7 @@ void DialogIncrements::clickedToolButtonAdd(){ ui->toolButtonRemove->setEnabled(true); connect(ui->tableWidgetIncrement, &QTableWidget::cellChanged, this, &DialogIncrements::cellChanged); + emit haveLiteChange(); } void DialogIncrements::clickedToolButtonRemove(){ @@ -336,6 +337,7 @@ void DialogIncrements::clickedToolButtonRemove(){ } connect(ui->tableWidgetIncrement, &QTableWidget::cellChanged, this, &DialogIncrements::cellChanged); + emit haveLiteChange(); } void DialogIncrements::AddIncrementToFile(qint64 id, QString name, qreal base, qreal ksize,