mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-06 09:00:41 +01:00
package manager: use yes/no buttons in dialog which asks to delete old packages from delphifreak (issue #15738)
git-svn-id: trunk@23968 -
This commit is contained in:
parent
4db9abe180
commit
91cf532a8f
@ -1230,7 +1230,7 @@ begin
|
||||
and (CompareFilenames(OldPkgFilename,NewFilename)<>0) then begin
|
||||
if IDEMessageDialog(lisPkgMangDeleteOldPackageFile,
|
||||
Format(lisPkgMangDeleteOldPackageFile2, ['"', OldPkgFilename, '"']),
|
||||
mtConfirmation,[mbOk,mbCancel])=mrOk
|
||||
mtConfirmation,[mbYes,mbNo])=mrYes
|
||||
then begin
|
||||
if DeleteFileUTF8(OldPkgFilename) then begin
|
||||
RemoveFromRecentList(OldPkgFilename,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user