From b275f5b8c648080e16d94e5c1be50b9abac29560 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sat, 13 Jun 2020 15:55:30 -0700 Subject: [PATCH] Fixed issue clicking on thread list while sampling --- IDE/src/ui/ProfilePanel.bf | 3 +++ 1 file changed, 3 insertions(+) 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, .()); });