Skip to content

Is this expected or not? #677

@Imperatorn

Description

@Imperatorn

From a user in the forums

I know how to change the current AppFrame:

window.mainWidget = myFrame;

But how do I exit this frame?

I press the button, change to new frame, do the work, and now I want to return to the previous frame. How would I do this?

It crashes if I reset it to the previous one.

button.click = delegate(Widget src) {
    // window.mainWidget = homeLayout.child(0);
    window.mainWidget = myPreviousFrame;
    return true;
};

// crash

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions