options: Do not select first entry when 'Select All' is used

This commit is contained in:
Joel16 2021-09-19 23:06:42 -04:00
parent 66d78ca0e4
commit 64b52198a5

View File

@ -50,7 +50,7 @@ namespace Popups {
Windows::ResetCheckbox(data);
std::strcpy(data.checkbox_data.cwd, cfg.cwd);
std::fill(data.checkbox_data.checked.begin(), data.checkbox_data.checked.end(), true);
std::fill(data.checkbox_data.checked.begin() + 1, data.checkbox_data.checked.end(), true);
data.checkbox_data.count = data.checkbox_data.checked.size();
}