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:
Željan Rikalo 2025-02-22 23:45:21 +00:00 committed by Željan Rikalo
parent f8bfee4292
commit 44f1ea933f
2 changed files with 2 additions and 2 deletions

View File

@ -5517,7 +5517,7 @@ end;
function TQtWidget.ProcessArrowKeys: Boolean;
begin
Result := False;
Result := Assigned(LCLObject) and (csDesigning in LCLObject.ComponentState);
end;
class procedure TQtWidget.removeProperty(AObject: QObjectH; APropName: PAnsiChar);

View File

@ -5521,7 +5521,7 @@ end;
function TQtWidget.ProcessArrowKeys: Boolean;
begin
Result := False;
Result := Assigned(LCLObject) and (csDesigning in LCLObject.ComponentState);
end;
class procedure TQtWidget.removeProperty(AObject: QObjectH; APropName: PAnsiChar);