From 64d6265bd0f6b4c0742504702e781ebe8a267613 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sat, 29 Nov 2014 00:23:06 -0800 Subject: [PATCH] MGR: In Advanced Prefs dialog, disable and uncheck "Use GPU while computer is in use" unless "Computing allowed while computer is in use" is checked, to make it clear that when processing is suspended, the GPU will also be suspended. --- clientgui/DlgAdvPreferences.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clientgui/DlgAdvPreferences.cpp b/clientgui/DlgAdvPreferences.cpp index 4252506252..aac62df023 100644 --- a/clientgui/DlgAdvPreferences.cpp +++ b/clientgui/DlgAdvPreferences.cpp @@ -537,7 +537,13 @@ bool CDlgAdvPreferences::SavePreferencesSettings() { /* set state of control depending on other control's state */ void CDlgAdvPreferences::UpdateControlStates() { //proc usage page + // Disable idle timeout edit text item if we allow both CPU and GPU when idle. m_txtProcIdleFor->Enable(!m_chkProcInUse->IsChecked() || !m_chkGPUProcInUse->IsChecked()); + + // If we suspend work when in use, disable and uncheck "Use GPU when in use" + m_chkGPUProcInUse->Enable(m_chkProcInUse->IsChecked()); + if (!m_chkProcInUse->IsChecked()) m_chkGPUProcInUse->SetValue(false); + m_txtProcMonday->Enable(m_chkProcMonday->IsChecked()); m_txtProcTuesday->Enable(m_chkProcTuesday->IsChecked()); m_txtProcWednesday->Enable(m_chkProcWednesday->IsChecked());