diff --git a/IDE/src/ui/ProfilePanel.bf b/IDE/src/ui/ProfilePanel.bf index 92ed2cfc..2bc7fff4 100644 --- a/IDE/src/ui/ProfilePanel.bf +++ b/IDE/src/ui/ProfilePanel.bf @@ -298,6 +298,9 @@ namespace IDE.ui if (mProfiler == null) return; + if (mProfiler.IsSampling) + return; + var subItem = menu.AddItem("All Threads"); subItem.mOnMenuItemSelected.Add(new (item) => { Show(0, .()); });