Listview does not correctly set properties
Original Reporter info from Mantis: JoshyFun @joshyfun
-
Reporter name: José Mejuto
Original Reporter info from Mantis: JoshyFun @joshyfun
- Reporter name: José Mejuto
Description:
The following line:
if (LV_STYLES[Prop].StyleType = lsStyle) = (Prop in AProps)
is wrong, if a property is not in "AProps" and "StyleType" is not "lsStyle" the condition becomes inverted to the expected (condition met as false=false).
Visual effect in ListView is that the IconView will not wrap the long text lines and they are written ones over the others.
Additional information:
Proposed fix:
if (LV_STYLES[Prop].StyleType = lsStyle) and (Prop in AProps)
*Note the "and" instead "=".
Mantis conversion info:
- Mantis ID: 12534
- Version: 0.9.27 (SVN)