Skip to content

WidgetListRow derives from Image, but init calls AWindow.init instead of Image #7

Description

@sketchycode

Line 51 of widgetlist.lua, I believe you intend a row to derive from Image. But on line 518 (the WidgetListRow init() method) you call AWindow's init, as opposed to Image. This leaves some of row's image-based properties uninitialized.

I found it when trying to use different images for row's background image. It's a quick fix (modify line 518 to call image.Image.init(self, gui)), just thought you'd like to know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions