ソースを参照

FIX: Set focus on the right mouse button click (fixes #2395)

Alexander Koblov 2 ヶ月 前
コミット
654eae2e0c
1 ファイル変更4 行追加4 行削除
  1. 4 4
      src/fileviews/ufileviewwithgrid.pas

+ 4 - 4
src/fileviews/ufileviewwithgrid.pas

@@ -287,10 +287,10 @@ begin
     begin
       OnMouseDown(Self, Button, Shift, X, Y);
     end;
-    if not Focused then
-    begin
-      if CanSetFocus then SetFocus;
-    end;
+  end;
+  if not Focused then
+  begin
+    if CanSetFocus then SetFocus;
   end;
 end;