diff --git a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/internal/tmf/ui/viewers/piecharts/TmfPieChartViewer.java b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/internal/tmf/ui/viewers/piecharts/TmfPieChartViewer.java index 6cbbfaa5ab..d4c5d39e04 100644 --- a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/internal/tmf/ui/viewers/piecharts/TmfPieChartViewer.java +++ b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/internal/tmf/ui/viewers/piecharts/TmfPieChartViewer.java @@ -422,8 +422,9 @@ public synchronized void refresh(boolean refreshGlobal, boolean refreshSelection // Check if the selection is empty or if // there is enough event types to show in the piecharts + // if there aren't enough, show the global pie chart if (nbEventsType < 2) { - getCurrentState().newEmptySelection(this); + getCurrentState().newGlobalEntries(this); } else { getCurrentState().newSelection(this); }