Explorar o código

FIX: FileView: missing call to TOrderedFileView.OnChangeActiveFille() (#690)

rich2014 %!s(int64=2) %!d(string=hai) anos
pai
achega
2b8b62045e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/fileviews/uorderedfileview.pas

+ 2 - 0
src/fileviews/uorderedfileview.pas

@@ -885,6 +885,8 @@ begin
       if Result then
       begin
           SetUpdate(Index);
+          if Assigned(OnChangeActiveFile) then
+            OnChangeActiveFile(Self, FFiles[Index].FSFile);
           Exit(True);
       end;
     end;