when loading a bookmark/defaults, don't mark default slot values as explicit.

This commit is contained in:
Kelvin Sherlock 2021-06-12 14:43:58 -04:00
parent c4c2defc01
commit 0381037356
1 changed files with 3 additions and 2 deletions

View File

@ -373,11 +373,12 @@ static unsigned RootKey = 0;
if (index >= 0 && index < SLOT_COUNT) {
unsigned mask = 1 << index;
if ([item defaultIndex] != [item selectedIndex])
if ([item defaultIndex] != [item selectedIndex]) {
_slots_explicit |= mask; // grrr.
_slot_value[index] = [[item selectedItem] value];
}
_slot_media[index] = [item selectedMedia];
_slot_value[index] = [[item selectedItem] value];
}
++index;