Skip to content

Call onPaint() after state reload #706

@Perdu

Description

@Perdu

It would be great if onPaint() could be recalled after state was reloaded so that we immediately had the GUI updated with current state of lua script variables instead of having to advance a frame.

(I tried adding Lua::Callbacks::call(Lua::NamedLuaFunction::CallbackPaint) in either SaveState::postLoad() or receive_messages() from frame.cpp but couldn't get anything to work, either because of nothing changing, crashes or dynamic include issues)

Help on this would be appreciated!

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