mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 01:02:39 +02:00
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:
parent
f73358f89e
commit
0f7d09254a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user