Browse Source

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 3 years ago
parent
commit
87d52c76a0
1 changed files with 1 additions and 1 deletions
  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;