mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 01:06:02 +02:00
Qt,Qt5: show text when TComboBox is csOwnerDrawEditableFixed or csOwnerDrawEditableVariable during design time. issue #33295
git-svn-id: trunk@59773 -
This commit is contained in:
parent
8eded5232b
commit
02e5547687
@ -9787,6 +9787,8 @@ begin
|
||||
begin
|
||||
Result := TQtComboBox(LCLObject.Handle).InUpdate or
|
||||
(csDesigning in LCLObject.ComponentState);
|
||||
if (QEvent_type(Event) = QEventPaint) and (csDesigning in LCLObject.ComponentState) then
|
||||
QObject_event(Sender, Event);
|
||||
if Result then
|
||||
QEvent_ignore(Event)
|
||||
else
|
||||
|
@ -9695,6 +9695,8 @@ begin
|
||||
begin
|
||||
Result := TQtComboBox(LCLObject.Handle).InUpdate or
|
||||
(csDesigning in LCLObject.ComponentState);
|
||||
if (QEvent_type(Event) = QEventPaint) and (csDesigning in LCLObject.ComponentState) then
|
||||
QObject_event(Sender, Event);
|
||||
if Result then
|
||||
QEvent_ignore(Event)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user