Skip to content

Commit 048e53f

Browse files
authored
Update TreeTab.lua (#9646)
1 parent 9d99499 commit 048e53f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/Classes/TreeTab.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,10 @@ local TreeTabClass = newClass("TreeTab", "ControlHost", function(self, build)
195195
self.viewer.showHeatMap = state
196196
self.controls.treeHeatMapStatSelect.shown = state
197197

198-
if state == false then
198+
if state == false and ToastNotification:Exists(self.powerBuilderToastId) then
199+
self.controls.powerReportList.shown = false
200+
ToastNotification:Remove(self.powerBuilderToastId)
201+
elseif state == false then
199202
self.controls.powerReportList.shown = false
200203
end
201204
end)

0 commit comments

Comments
 (0)