mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-23 06:39:20 +02:00
Qt5, Qt6: allow arrow keys at design time. issue #41453
This commit is contained in:
parent
17407a1e4d
commit
9ad5559338
@ -5530,7 +5530,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);
|
||||||
|
@ -5534,7 +5534,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