Skip to content

Commit

Permalink
Prevent Possibility of Country being set empty
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmaehl committed Dec 26, 2023
1 parent 5bb46c4 commit 991f3e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MSEdgeRedirect_Wrapper.au3
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ Func RunSetup($bUpdate = False, $bSilent = False, $iPage = 0, $hSetupFile = @Scr
GUICtrlSetData(-1, "Install")
EndIf
ElseIf $iPage = $hSettings Or $iPage = $hCountry Then
GUICtrlSetState(-1, $GUI_DISABLE)
GUICtrlSetData(-1, "Save")
EndIf
Local $hCancel = GUICtrlCreateButton("Cancel", 530, 435, 90, 30)
Expand Down Expand Up @@ -991,6 +992,7 @@ Func RunSetup($bUpdate = False, $bSilent = False, $iPage = 0, $hSetupFile = @Scr
GUICtrlSetData($aNew[3], $aCountries[$iIndex][2])
GUICtrlSetData($aNew[4], $aCountries[$iIndex][1])
GUICtrlSetData($aNew[Ubound($aOld) - 1], "✓ / ✓")
GUICtrlSetState($hNext, $GUI_ENABLE)

Case $hMsg = $hAddEEA
For $iLoop = 0 To Ubound($aOld) - 2 Step 1
Expand Down

0 comments on commit 991f3e3

Please sign in to comment.