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

DolphinQt: Enable accuracy slider back after a custom value #10472

Closed
wants to merge 1 commit into from

Conversation

3t13nn3
Copy link
Contributor

@3t13nn3 3t13nn3 commented Feb 23, 2022

According to this issue https://bugs.dolphin-emu.org/issues/12771, using a custom value on a particular game for the texture cache makes the slider disable until we reboot the app.

Choosing a custom value disable the slider, but don't make it active again after we end the instance of the current game. Then it keep the game config and we couldn't change it.

This change is about enabling the slider if it is disable (due to a custom value for a game).

@3t13nn3 3t13nn3 changed the title enable m_accuracy DolphinQt: Enable accuracy slider back after a custom value Feb 23, 2022
@@ -151,6 +151,9 @@ void HacksWidget::ConnectWidgets()

void HacksWidget::LoadSettings()
{
// Need to enable the slider if it was turn off (in case of changes)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// Need to enable the slider if it was turn off (in case of changes)
// Re-enable the slider in case it was disabled because of a custom value

It might also make sense to move this closer to the setEnabled(false) call (perhaps right before the switch statement?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree, it could me more clear.

@JosJuice
Copy link
Member

JosJuice commented Mar 2, 2022

Please also update the commit message so it includes the details that currently are available in the PR description only.

@AdmiralCurtiss
Copy link
Contributor

-> #10573.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants