Skip to content

Commit

Permalink
Initially focus OK button on New Disk form.
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanrussell authored Dec 25, 2024
1 parent 54b7211 commit 88bb92a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Projects/Src/Setup.NewDiskForm.pas
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function SelectDisk(const DiskNumber: Integer; const AFilename: String;
Filename := AFilename;
SelectDiskLabel.Caption := FmtSetupMessage(msgSelectDiskLabel2, [IntToStr(DiskNumber)]);
PathEdit.Text := Path;
ActiveControl := OKButton;
Result := ShowModal = mrOK;
if Result then
Path := GetSanitizedPath;
Expand Down

0 comments on commit 88bb92a

Please sign in to comment.