Skip to content

Commit c7cd1a9

Browse files
authored
Update graph title after node was updated. (#4030)
1 parent 41c925d commit c7cd1a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

librz/core/agraph.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -3298,9 +3298,6 @@ static bool check_changes(RzAGraph *g, int is_interactive, RzCore *core, RzAnaly
32983298
return false;
32993299
}
33003300
}
3301-
if (fcn) {
3302-
agraph_update_title(core, g, fcn);
3303-
}
33043301
if (core && core->config) {
33053302
if (rz_config_get_i(core->config, "graph.trace")) {
33063303
// fold all bbs not traced
@@ -3339,6 +3336,9 @@ static bool check_changes(RzAGraph *g, int is_interactive, RzCore *core, RzAnaly
33393336
update_seek(g->can, n, g->force_update_seek);
33403337
}
33413338
}
3339+
if (fcn) {
3340+
agraph_update_title(core, g, fcn);
3341+
}
33423342
if (oldpos[0] || oldpos[1]) {
33433343
g->can->sx = oldpos[0];
33443344
g->can->sy = oldpos[1];

0 commit comments

Comments
 (0)