Browse Source

The 4d585c8641 (Bug 1478: Open filter dialog when clicking the current filter in the path display) incorrectly affected even non-hot-tracked path labels

Source commit: 1ba970bb1e83f45b48f56bc2d5140b881740ef2d
Martin Prikryl 9 years ago
parent
commit
53e3cf182c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/packages/my/PathLabel.pas

+ 1 - 1
source/packages/my/PathLabel.pas

@@ -515,7 +515,7 @@ begin
   VirtualMask := Mask;
   IsVirtualMask := False;
   IsEmptyMask := (VirtualMask = '');
-  if IsEmptyMask then
+  if IsEmptyMask and HotTrack then
   begin
     VirtualMask := '*.*';
     IsVirtualMask := not FMouseInView;