mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 09:59:09 +02:00
Qt5, Qt6: allow arrow keys at design time. issue #41453
(cherry picked from commit 9ad5559338
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
This commit is contained in:
parent
f8bfee4292
commit
44f1ea933f
@ -5517,7 +5517,7 @@ end;
|
|||||||
|
|
||||||
function TQtWidget.ProcessArrowKeys: Boolean;
|
function TQtWidget.ProcessArrowKeys: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := Assigned(LCLObject) and (csDesigning in LCLObject.ComponentState);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
class procedure TQtWidget.removeProperty(AObject: QObjectH; APropName: PAnsiChar);
|
class procedure TQtWidget.removeProperty(AObject: QObjectH; APropName: PAnsiChar);
|
||||||
|
@ -5521,7 +5521,7 @@ end;
|
|||||||
|
|
||||||
function TQtWidget.ProcessArrowKeys: Boolean;
|
function TQtWidget.ProcessArrowKeys: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := Assigned(LCLObject) and (csDesigning in LCLObject.ComponentState);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
class procedure TQtWidget.removeProperty(AObject: QObjectH; APropName: PAnsiChar);
|
class procedure TQtWidget.removeProperty(AObject: QObjectH; APropName: PAnsiChar);
|
||||||
|
Loading…
Reference in New Issue
Block a user