mirror of
https://github.com/ksherlock/ample.git
synced 2024-06-10 00:29:55 +00:00
when loading a bookmark/defaults, don't mark default slot values as explicit.
This commit is contained in:
parent
c4c2defc01
commit
0381037356
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user