Explorar o código

Bug fix: After certain operations, drive that was ever opened in local file panel cannot be safely removed temporarily

See eb626a5f

(cherry picked from commit a0763193227ad8dad2be59e3f67ab38b515b9692)

Source commit: a041405b759f7aba94eb56a81ddeeee5db9e52a2
Martin Prikryl %!s(int64=3) %!d(string=hai) anos
pai
achega
87d52c76a0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      source/packages/filemng/DriveView.pas

+ 1 - 1
source/packages/filemng/DriveView.pas

@@ -2294,7 +2294,7 @@ begin
         if Assigned(DiscMonitor) and (not DiscMonitor.Active) then
         begin
           DiscMonitor.Open;
-          UpdateDriveNotifications(Drive);
+          UpdateDriveNotifications(DriveStatusPair.Key);
         end;
       end;