Bug 1497907 - Don't accidentally hide the uninstaller reboot opt-out radio button. r=agashlin

Differential Revision: https://phabricator.services.mozilla.com/D8309

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Matt Howell 2018-10-11 22:59:49 +00:00
Родитель 6dbc16f83e
Коммит 62a191de2d
1 изменённых файлов: 9 добавлений и 2 удалений

Просмотреть файл

@ -606,8 +606,15 @@ FunctionEnd
Function un.preFinish
; Need to give the survey (readme) checkbox a few extra DU's of height
; to accommodate a potentially multi-line label.
WriteINIStr "$PLUGINSDIR\ioSpecial.ini" "Field 4" Bottom "120"
; to accommodate a potentially multi-line label. If the reboot flag is set,
; then we're not showing the survey checkbox and Field 4 is the "reboot now"
; radio button; setting it to go from 90 to 120 (instead of 90 to 100) would
; cover up Field 5 which is "reboot later", running from 110 to 120. For
; whatever reason child windows get created at the bottom of the z-order, so
; 4 overlaps 5.
${IfNot} ${RebootFlag}
WriteINIStr "$PLUGINSDIR\ioSpecial.ini" "Field 4" Bottom "120"
${EndIf}
FunctionEnd
################################################################################