automatically switch to 8 Bit integer when changing mode to indexed
Description of the feature
Currently the image mode "indexed" is grayed out in the menu when the precision is set to something else than "8 bit integer".
I think it is more logical to do this automatically when the user wants to change the mode to indexed.
Use cases
Simpler workflow when editing image sources with a high precision.