mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 00:20:13 +02:00
Qt,Qt5,Qt6: Fixed double OnSelectItem signal when setting ItemIndex of TListView vsReport. issue #40255
This commit is contained in:
parent
1ddbcea70c
commit
9a68ad98cc
@ -1378,6 +1378,8 @@ begin
|
||||
end else
|
||||
begin
|
||||
QtTreeWidget := TQtTreeWidget(ALV.Handle);
|
||||
if QtTreeWidget.InUpdate then
|
||||
exit; // issue #40255
|
||||
TWI := QtTreeWidget.topLevelItem(AIndex);
|
||||
QtTreeWidget.BeginUpdate;
|
||||
case AState of
|
||||
|
@ -1414,6 +1414,8 @@ begin
|
||||
end else
|
||||
begin
|
||||
QtTreeWidget := TQtTreeWidget(ALV.Handle);
|
||||
if QtTreeWidget.InUpdate then
|
||||
exit; // issue #40255
|
||||
TWI := QtTreeWidget.topLevelItem(AIndex);
|
||||
QtTreeWidget.BeginUpdate;
|
||||
case AState of
|
||||
|
@ -1414,6 +1414,8 @@ begin
|
||||
end else
|
||||
begin
|
||||
QtTreeWidget := TQtTreeWidget(ALV.Handle);
|
||||
if QtTreeWidget.InUpdate then
|
||||
exit; // issue #40255
|
||||
TWI := QtTreeWidget.topLevelItem(AIndex);
|
||||
QtTreeWidget.BeginUpdate;
|
||||
case AState of
|
||||
|
Loading…
Reference in New Issue
Block a user