Commit 42058f8d authored by Łukasz Wojniłowicz's avatar Łukasz Wojniłowicz
Browse files

Block model signals during drawPivotRowSet



REVIEW: 129740
BUG: 374430
Signed-off-by: Łukasz Wojniłowicz's avatarŁukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
parent 88173ce9
......@@ -258,6 +258,7 @@ void KReportChartView::drawPivotChart(const PivotGrid &grid, const MyMoneyReport
}
}
const bool blocked = m_model.blockSignals(true); // don't emit dataChanged() signal during each drawPivotRowSet
switch (config.detailLevel()) {
case MyMoneyReport::eDetailNone:
case MyMoneyReport::eDetailEnd:
......@@ -438,6 +439,7 @@ void KReportChartView::drawPivotChart(const PivotGrid &grid, const MyMoneyReport
}
break;
}
m_model.blockSignals(blocked); // reenable dataChanged() signal
//assign model to the diagram
planeDiagram->setModel(&m_model);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment