8305644: IGV: Node text not updated when switching from/to CFG view

Reviewed-by: rcastanedalo, chagedorn
This commit is contained in:
Tobias Holenstein 2023-04-05 12:09:27 +00:00
parent 4bf1987856
commit 9f587d272f

View File

@ -118,6 +118,7 @@ public class DiagramViewModel extends RangeSliderModel implements ChangedListene
public void setShowCFG(boolean enable) { public void setShowCFG(boolean enable) {
showCFG = enable; showCFG = enable;
diagram.setCFG(enable);
if (enable) { if (enable) {
diagramChangedEvent.fire(); diagramChangedEvent.fire();
} }