mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 15:01:06 +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,8 +6463,8 @@ begin
|
||||
|
||||
FillChar(Msg, SizeOf(Msg), #0);
|
||||
Msg.Msg := LM_SELCHANGE;
|
||||
|
||||
DeliverMessage(Msg);
|
||||
if QListWidget_currentItem(QListWidgetH(Widget)) <> nil then
|
||||
DeliverMessage(Msg);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user