Skip to content

Commit

Permalink
fix for vul panel not cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
igorlombacx committed Sep 12, 2023
1 parent a779bc1 commit 5013d9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="5*" />
</Grid.ColumnDefinitions>
<TextBlock Text="Remediation" Grid.Column="1" VerticalAlignment="Center"/>
<TextBlock Text="Remediation Examples" Grid.Column="1" VerticalAlignment="Center"/>
</Grid>
</DataTemplate>
</TabItem.HeaderTemplate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ private static TextBlock CreateParsedTextBlock(string text)
public void Clear()
{
cxWindowUI.VulnerabilitiesPanel.Visibility = Visibility.Hidden;
cxWindowUI.SastVulnerabilitiesPanel.Visibility = Visibility.Hidden;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public void ClearAll()
private void ClearPanels(bool clearSecondAndThirdPanel)
{
cxWindowUI.TreeViewResults.Items.Clear();

cxWindowUI.VulnerabilitiesPanel.Visibility = Visibility.Hidden;
if (clearSecondAndThirdPanel)
{
resultInfoPanel.Clear();
Expand Down

0 comments on commit 5013d9d

Please sign in to comment.