Skip to content

Commit 3a2a649

Browse files
authored
Fixed bug with Current Policy Information
- Current Policy Information was not retrieving the Vulnerable Driver Blocklist status after the auto-refresh when adding or removing policies
1 parent b2330dd commit 3a2a649

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

AppControlManager.au3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,7 @@ Else
14361436
_GUICtrlListView_AddArray($hListView,$aWords)
14371437
CountTotal()
14381438
CountEnforced()
1439-
GUICtrlSetData($PolicyStatus, " Policies (total)" & @TAB & @TAB & ": " & $CountTotal & @CRLF & " Policies (enforced)" & @TAB & @TAB & ": " & $CountEnforced & @CRLF & @CRLF & " " & $topstatus9)
1439+
GUICtrlSetData($PolicyStatus, " " & $topstatus9 & @CRLF & @CRLF & $sVulnDrivermsg & @CRLF & @CRLF & " Policies (total)" & @TAB & @TAB & ": " & $CountTotal & @CRLF & " Policies (enforced)" & @TAB & @TAB & ": " & $CountEnforced)
14401440
Else
14411441
$path = $spFile[1]
14421442
_ArrayDelete($spFile, 0)
@@ -1461,7 +1461,7 @@ Else
14611461
_GUICtrlListView_AddArray($hListView,$aWords)
14621462
CountTotal()
14631463
CountEnforced()
1464-
GUICtrlSetData($PolicyStatus, " Policies (total)" & @TAB & @TAB & ": " & $CountTotal & @CRLF & " Policies (enforced)" & @TAB & @TAB & ": " & $CountEnforced & @CRLF & @CRLF & " " & $topstatus9)
1464+
GUICtrlSetData($PolicyStatus, " " & $topstatus9 & @CRLF & @CRLF & $sVulnDrivermsg & @CRLF & @CRLF & " Policies (total)" & @TAB & @TAB & ": " & $CountTotal & @CRLF & " Policies (enforced)" & @TAB & @TAB & ": " & $CountEnforced)
14651465
EndIf
14661466
EndIf
14671467
EndFunc
@@ -1592,7 +1592,7 @@ Func PolicyRemoval()
15921592
_GUICtrlListView_AddArray($hListView,$aWords)
15931593
CountTotal()
15941594
CountEnforced()
1595-
GUICtrlSetData($PolicyStatus, " Policies (total)" & @TAB & @TAB & ": " & $CountTotal & @CRLF & " Policies (enforced)" & @TAB & @TAB & ": " & $CountEnforced & @CRLF & @CRLF & " " & $topstatus9)
1595+
GUICtrlSetData($PolicyStatus, " " & $topstatus9 & @CRLF & @CRLF & $sVulnDrivermsg & @CRLF & @CRLF & " Policies (total)" & @TAB & @TAB & ": " & $CountTotal & @CRLF & " Policies (enforced)" & @TAB & @TAB & ": " & $CountEnforced)
15961596
Endfunc
15971597

15981598
Func ConvertPolicy()

0 commit comments

Comments
 (0)