Skip to content

Commit 65936a4

Browse files
committed
FIX: grid may be not updated when right clicking on macOS
1 parent 1697f71 commit 65936a4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/fileviews/ufileviewwithmainctrl.pas

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,9 @@ procedure TFileViewWithMainCtrl.MainControlMouseDown(Sender: TObject; Button: TM
965965
{$IF DEFINED(LCLWIN32)}
966966
FMouseFocus:= MainControl.Focused;
967967
SetFocus;
968+
{$ELSEIF DEFINED(LCLCOCOA)}
969+
FMouseFocus:= MainControl.Focused;
970+
MainControl.Invalidate;
968971
{$ELSE}
969972
FMouseFocus := not FMouseEnter;
970973
FMouseEnter := False;

0 commit comments

Comments
 (0)