[bootman] Default partition is not set correctly when some partitions are masked
|Reported by:||oco||Owned by:||axeld|
|Has a Patch:||no||Platform:||All|
Here is my partition layout :
- Windows pre-install partition
- Windows partition
- Haiku partition
If i uncheck the pre-install partition in the partition list and if i select Haiku as the default partition, no selector is shown on boot. I have to use up arrow key to finally see the selector.
The default partition index is relative to the plain partition list, but should be relative to visible partitions only when written on the boot sector.
Here is a patch to fix this small problem.