mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 22:00:38 +02:00
Qt: bugfix in TQtListWidget.signalSelectionChanged(), no more AV in some circumstances.
git-svn-id: trunk@16556 -
This commit is contained in:
parent
1a4ebe205e
commit
9832af3ae8
@ -6463,7 +6463,7 @@ begin
|
|||||||
|
|
||||||
FillChar(Msg, SizeOf(Msg), #0);
|
FillChar(Msg, SizeOf(Msg), #0);
|
||||||
Msg.Msg := LM_SELCHANGE;
|
Msg.Msg := LM_SELCHANGE;
|
||||||
|
if QListWidget_currentItem(QListWidgetH(Widget)) <> nil then
|
||||||
DeliverMessage(Msg);
|
DeliverMessage(Msg);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user