mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 03:16:10 +00:00
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:
parent
72eab68be1
commit
5a59546009
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user