mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Don't save properties when cancel operation
This commit is contained in:
parent
a7a3b4bb6d
commit
09617b80ad
1 changed files with 2 additions and 0 deletions
|
|
@ -353,6 +353,8 @@ begin
|
|||
CanClose:= (MyModalResult = mrOK);
|
||||
end;
|
||||
ModalResult := MyModalResult;
|
||||
// Don't save properties when cancel operation
|
||||
if ModalResult = mrCancel then SessionProperties:= EmptyStr;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue