mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: UPD: jump to Home directory instead of Exe directory after decteting the driver unmounted, Keep it consistent with unmouting in DC
(cherry picked from commit f11073847b)
This commit is contained in:
parent
6414fcb117
commit
926d30e419
1 changed files with 2 additions and 2 deletions
|
|
@ -7046,9 +7046,9 @@ begin
|
|||
if (EventType = dweDriveRemoved) and Assigned(ADrive) then
|
||||
begin
|
||||
if IsInPath(ADrive^.Path, ActiveFrame.CurrentPath, True, True) then
|
||||
ActiveFrame.CurrentPath:= gpExePath
|
||||
ActiveFrame.CurrentPath:= GetHomeDir
|
||||
else if IsInPath(ADrive^.Path, NotActiveFrame.CurrentPath, True, True) then
|
||||
NotActiveFrame.CurrentPath:= gpExePath;
|
||||
NotActiveFrame.CurrentPath:= GetHomeDir;
|
||||
end;
|
||||
|
||||
UpdateSelectedDrives;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue