mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=12351
This commit is contained in:
parent
eaa534bbd7
commit
e9b1a8f700
|
@ -3455,3 +3455,11 @@ Charlie 11 Apr 2007
|
|||
mac_build/
|
||||
boinc.xcodeproj/
|
||||
project.pbxproj
|
||||
|
||||
Charlie 12 Apr 2007
|
||||
- MGR: Fix bug in SimpleGUI prefs: it wasn't resetting the
|
||||
<run_if_user_active> tag when changing "Do work when user
|
||||
idle" override from "0 (Run Always)" to an idle time value.
|
||||
|
||||
clientgui/
|
||||
sg_DlgPreferences.cpp
|
||||
|
|
|
@ -946,12 +946,14 @@ bool CPanelPreferences::SavePreferenceSettings() {
|
|||
|
||||
// Do work after computer is idle for:
|
||||
m_strWorkWhenIdle.ToDouble((double*)&global_preferences_override.idle_time_to_run);
|
||||
if (0 == global_preferences_override.idle_time_to_run) {
|
||||
global_preferences_override.run_if_user_active = true;
|
||||
global_preferences_mask.run_if_user_active = true;
|
||||
} else {
|
||||
global_preferences_mask.idle_time_to_run = true;
|
||||
}
|
||||
if (0 == global_preferences_override.idle_time_to_run) {
|
||||
global_preferences_override.run_if_user_active = true;
|
||||
global_preferences_mask.idle_time_to_run = false;
|
||||
} else {
|
||||
global_preferences_override.run_if_user_active = false;
|
||||
global_preferences_mask.idle_time_to_run = true;
|
||||
}
|
||||
global_preferences_mask.run_if_user_active = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue