Explorar el Código

FIX: SevenZip - update password visibility on "show password" change

Alexander Koblov hace 3 años
padre
commit
181997bf08
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      plugins/wcx/sevenzip/src/SevenZipDlg.pas

+ 1 - 0
plugins/wcx/sevenzip/src/SevenZipDlg.pas

@@ -725,6 +725,7 @@ begin
        begin
          wParam:= (not IsDlgButtonChecked(hwndDlg, IDC_SHOW_PASSWORD) and $01) * $2A;
       	 SendDlgItemMessageW(hwndDlg, IDC_PASSWORD, EM_SETPASSWORDCHAR, wParam, 0);
+         RedrawWindow(hwndDlg, nil, 0, RDW_INVALIDATE or RDW_UPDATENOW);
        end;
       end;
     end;