Refresh overview even when function doesn't change (#1541)

It may be necesarrry to update data after changes in graph layout or
other properties.
This commit is contained in:
karliss 2019-05-16 15:15:13 +03:00 committed by Florian Märkl
parent 72eab68be1
commit 5a59546009

View File

@ -118,9 +118,6 @@ void OverviewWidget::updateGraphData()
return; return;
} }
if (targetGraphWidget && !targetGraphWidget->getGraphView()->isGraphEmpty()) { if (targetGraphWidget && !targetGraphWidget->getGraphView()->isGraphEmpty()) {
if (targetGraphWidget->getGraphView()->currentFcnAddr == graphView->currentFcnAddr) {
return;
}
graphView->currentFcnAddr = targetGraphWidget->getGraphView()->currentFcnAddr; graphView->currentFcnAddr = targetGraphWidget->getGraphView()->currentFcnAddr;
auto &mainGraphView = *targetGraphWidget->getGraphView(); auto &mainGraphView = *targetGraphWidget->getGraphView();
graphView->setData(mainGraphView.getWidth(), mainGraphView.getHeight(), graphView->setData(mainGraphView.getWidth(), mainGraphView.getHeight(),