mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Bugfix: After click on password generator button, user was not marked as modified.
This commit is contained in:
@@ -588,7 +588,9 @@ procedure TUserManagerForm.editPasswordRightButtonClick(Sender: TObject);
|
||||
begin
|
||||
// Auto generate a random password, display it for a second and copy it to clipboard
|
||||
Screen.Cursor := crHourglass;
|
||||
editPassword.SetFocus;
|
||||
editPassword.Text := GeneratePassword(8);
|
||||
editPassword.Modified := True;
|
||||
editPassword.PasswordChar := #0;
|
||||
editPassword.Repaint;
|
||||
Sleep(1000);
|
||||
|
||||
Reference in New Issue
Block a user