mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 03:40:24 +02:00
qt intf: fixed showing caret when FWIdget got context, bug #16905
git-svn-id: trunk@30744 -
This commit is contained in:
parent
82f5d6ef1c
commit
acb07766c4
@ -427,7 +427,8 @@ begin
|
||||
' Y=',Value.Y,' OldX=',FPos.X,' OldY=',FPos.Y,' Dirty=',FCaretDirty);
|
||||
{$ENDIF}
|
||||
|
||||
if not QtWidgetSet.IsValidHandle(HWND(FWidget)) or (FWidget.Widget = nil) then
|
||||
if not QtWidgetSet.IsValidHandle(HWND(FWidget)) or (FWidget.Widget = nil)
|
||||
or (FWidget.Context=0) then
|
||||
begin
|
||||
// oops, our caret is dirty here.
|
||||
FCaretDirtyPos := FPos;
|
||||
|
Loading…
Reference in New Issue
Block a user