mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 13:59:14 +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);
|
' Y=',Value.Y,' OldX=',FPos.X,' OldY=',FPos.Y,' Dirty=',FCaretDirty);
|
||||||
{$ENDIF}
|
{$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
|
begin
|
||||||
// oops, our caret is dirty here.
|
// oops, our caret is dirty here.
|
||||||
FCaretDirtyPos := FPos;
|
FCaretDirtyPos := FPos;
|
||||||
|
Loading…
Reference in New Issue
Block a user