From 22e8bf23819a3305292331aa9e030d18c7af81c2 Mon Sep 17 00:00:00 2001 From: Theofilos Pechlivanis <49034471+theopechli@users.noreply.github.com> Date: Tue, 1 Nov 2022 22:01:56 +0200 Subject: [PATCH] Refresh Call Graph when renaming functions (#3049) --- src/widgets/CallGraph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/CallGraph.cpp b/src/widgets/CallGraph.cpp index 64736573..001844d0 100644 --- a/src/widgets/CallGraph.cpp +++ b/src/widgets/CallGraph.cpp @@ -42,6 +42,7 @@ CallGraphView::CallGraphView(CutterDockWidget *parent, MainWindow *main, bool gl refreshDeferrer.registerFor(parent); connect(&refreshDeferrer, &RefreshDeferrer::refreshNow, this, &CallGraphView::refreshView); connect(Core(), &CutterCore::refreshAll, this, &SimpleTextGraphView::refreshView); + connect(Core(), &CutterCore::functionRenamed, this, &CallGraphView::refreshView); } void CallGraphView::showExportDialog()