Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frame: Make cheat dialog private #5217

Merged
merged 1 commit into from Apr 8, 2017
Merged

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Apr 7, 2017

Rather than destroy and reinitialize the dialog whenever it's closed and opened, this dialog can just be hidden from view when it's not needed, and shown again when it is needed. Also, a dialog should really not be managing any live instances of itself, including the one directly in the main frame.

This gets rid of another usage of the main frame global.

Rather than destroy and reinitialize the dialog whenever it's closed,
and opened this dialog can just be hidden from view when it's not
needed, and shown again when it is needed.

Also, a dialog should really not be managing any live instances of
itself, including the one directly in the main frame.

This gets rid of another usage of the main frame global.
Copy link
Member

@BhaaLseN BhaaLseN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 more to go :)

@lioncash lioncash merged commit 96e70ad into dolphin-emu:master Apr 8, 2017
@lioncash lioncash deleted the cheats branch April 8, 2017 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants