Skip to content

Commit

Permalink
HardwareDevices fix filter after tab switch
Browse files Browse the repository at this point in the history
  • Loading branch information
jxy-s committed Jan 20, 2025
1 parent 2acfa08 commit 86500d4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions plugins/HardwareDevices/devicetree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,17 @@ BOOLEAN DevicesTabPageCallback(
{
DeviceTabSelected = (BOOLEAN)Parameter1;
if (DeviceTabSelected)
{
DeviceTreePublishAsync(FALSE);

if (DeviceTreeHandle)
{
TreeNew_NodesStructured(DeviceTreeHandle);

if (DeviceTreeFilterSupport.FilterList)
PhApplyTreeNewFilters(&DeviceTreeFilterSupport);
}
}
}
break;
case MainTabPageFontChanged:
Expand Down

0 comments on commit 86500d4

Please sign in to comment.