Qt: fixed sending message to lcl when state of current active item is changed from false to true in multiselection mode.

git-svn-id: trunk@35564 -
This commit is contained in:
zeljko 2012-02-23 14:26:41 +00:00
parent f73358f89e
commit 0f7d09254a

View File

@ -10436,7 +10436,9 @@ begin
if (Modifiers and QtControlModifier <> 0) then
begin
X := getSelCount;
// DebugLn('**** Called SELECT IN 1 X=', dbgs(X));
// DebugLn('**** Called SELECT IN 1 X=', dbgs(X),' is curr ? ',dbgs(CurrentItem = Item));
if CurrentItem = Item then
X := 0;
QListWidget_setCurrentItem(QListWidgetH(Widget), Item,
QItemSelectionModelSelect);
if (X <= 1) then