mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 02:29:34 +02:00
Qt5,Qt6: fixed invalid behaviour of columns. issue #41125
This commit is contained in:
parent
798ea1949d
commit
de24da1877
lcl/interfaces
@ -842,7 +842,10 @@ begin
|
||||
Exit(-1);
|
||||
|
||||
// TODO: columns in vsIcon mode
|
||||
if IsIconView(ALV) or (csDestroyingHandle in ALV.ControlState) then
|
||||
if IsIconView(ALV) then
|
||||
exit(0);
|
||||
|
||||
if (TQtWidget(ALV.Handle) is TQtListWidget) then
|
||||
exit(0);
|
||||
|
||||
QtTreeWidget := TQtTreeWidget(ALV.Handle);
|
||||
|
@ -840,7 +840,10 @@ begin
|
||||
Exit(-1);
|
||||
|
||||
// TODO: columns in vsIcon mode
|
||||
if IsIconView(ALV) or (csDestroyingHandle in ALV.ControlState) then
|
||||
if IsIconView(ALV) then
|
||||
exit(0);
|
||||
|
||||
if (TQtWidget(ALV.Handle) is TQtListWidget) then
|
||||
exit(0);
|
||||
|
||||
QtTreeWidget := TQtTreeWidget(ALV.Handle);
|
||||
|
Loading…
Reference in New Issue
Block a user