mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Update drive mount state
This commit is contained in:
parent
425640af7a
commit
6b988c1179
1 changed files with 5 additions and 0 deletions
|
|
@ -769,6 +769,11 @@ begin
|
|||
begin
|
||||
if not UDisksDevice.DevicePresentationHide then
|
||||
begin
|
||||
if (IsUDisksAvailable = False) and (I = 2) then
|
||||
begin
|
||||
UDisksDevice.DeviceIsMounted:= True;
|
||||
AddString(UDisksDevice.DeviceMountPaths, MountPoint);
|
||||
end;
|
||||
UDisksDeviceToDrive(UDisksDevices, UDisksDevice, Drive);
|
||||
Drive^.Path := MountPoint;
|
||||
Drive^.DisplayName := UDisksDevice.DevicePresentationName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue