mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 18:03:47 +02:00
Qt5,Qt6: fixed invalid behaviour of columns. issue #41125
This commit is contained in:
parent
798ea1949d
commit
de24da1877
@ -842,7 +842,10 @@ begin
|
|||||||
Exit(-1);
|
Exit(-1);
|
||||||
|
|
||||||
// TODO: columns in vsIcon mode
|
// 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);
|
exit(0);
|
||||||
|
|
||||||
QtTreeWidget := TQtTreeWidget(ALV.Handle);
|
QtTreeWidget := TQtTreeWidget(ALV.Handle);
|
||||||
|
@ -840,7 +840,10 @@ begin
|
|||||||
Exit(-1);
|
Exit(-1);
|
||||||
|
|
||||||
// TODO: columns in vsIcon mode
|
// 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);
|
exit(0);
|
||||||
|
|
||||||
QtTreeWidget := TQtTreeWidget(ALV.Handle);
|
QtTreeWidget := TQtTreeWidget(ALV.Handle);
|
||||||
|
Loading…
Reference in New Issue
Block a user