Can't change color palette

Earlier today, it was working fine. I was clicking on the color in the palette, and it was changing the color in the image when I changed it in the palette. Then I opened a file, and now whenever I try to change a color, it just deselects! What’s going on?
1.3.13, Windows

I think it’s because the color mode is “indexed”
Sprite → color mode → RGB color (Check)

I tried that. It still just de-selects the color in the palette when I try to change it.

Is the padlock above the palette open or closed?

When it’s open, I can change colors in place in indexed color mode. I’m using version 1.3.14-beta1.

You fixed it!! Thanks!