Commit ef647d81 authored by Željan Rikalo's avatar Željan Rikalo 🏊🏼
Browse files

Qt,Qt5: fixed regression from r54696 #d76aa4f2. issue #31697

git-svn-id: trunk@54802 -
parent 183a1345
......@@ -13999,11 +13999,6 @@ begin
Msg.Msg := LM_CHANGED;
Msg.WParam := PtrInt(QListWidget_row(QListWidgetH(Widget), Item));
DeliverMessage(Msg);
if (QtVersionMajor = 4) and (QtVersionMinor >= 8) then
begin
QListWidget_setCurrentItem(QListWidgetH(Widget), Item, QItemSelectionModelSelectCurrent);
inherited signalSelectionChanged();
end;
end;
 
function TQtCheckListBox.GetItemCheckState(AIndex: Integer): QtCheckState;
......
......@@ -13971,8 +13971,6 @@ begin
Msg.Msg := LM_CHANGED;
Msg.WParam := PtrInt(QListWidget_row(QListWidgetH(Widget), Item));
DeliverMessage(Msg);
QListWidget_setCurrentItem(QListWidgetH(Widget), Item, QItemSelectionModelSelectCurrent);
inherited signalSelectionChanged();
end;
 
function TQtCheckListBox.GetItemCheckState(AIndex: Integer): QtCheckState;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment