Qt: bugfix in TQtListWidget.signalSelectionChanged(), no more AV in some circumstances.

git-svn-id: trunk@16556 -
This commit is contained in:
zeljko 2008-09-11 21:24:43 +00:00
parent 1a4ebe205e
commit 9832af3ae8

View File

@ -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;
{------------------------------------------------------------------------------