Skip to content

Commit

Permalink
Fix: Close button on multimenu form
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Jun 27, 2024
1 parent 8ce7354 commit 0247d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multimenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ void WzMultiWidget::switchAttachedPanel(const std::shared_ptr<WIDGET> newPanel)
detach(currentlyAttachedPanel);
}
currentlyAttachedPanel = newPanel;
attach(newPanel);
attach(newPanel, ChildZPos::Back);
}

void WzMultiWidget::initialize(std::function<void ()> closeButtonHandler)
Expand Down

0 comments on commit 0247d29

Please sign in to comment.