Qt: Fix indices when swapping palette sets
Qt: Fix indices when swapping palette sets

Iniquitatis/mgba,iracigt/mgba,mgba-emu/mgba,iracigt/mgba,libretro/mgba,sergiobenrocha2/mgba,iracigt/mgba,jeremyherbert/mgba,Iniquitatis/mgba,libretro/mgba,fr500/mgba,mgba-emu/mgba,Iniquitatis/mgba,sergiobenrocha2/mgba,mgba-emu/mgba,Iniquitatis/mgba,fr500/mgba,sergiobenrocha2/mgba,jeremyherbert/mgba,sergiobenrocha2/mgba,Anty-Lemon/mgba,libretro/mgba,jeremyherbert/mgba,sergiobenrocha2/mgba,libretro/mgba,fr500/mgba,libretro/mgba,Anty-Lemon/mgba,Anty-Lemon/mgba,Anty-Lemon/mgba,fr500/mgba,mgba-emu/mgba,jeremyherbert/mgba,iracigt/mgba