If you go and disable an account and then re-enable it fast, the UI behaves weird. The account is usually grayed out while it is connecting. This happens because the model/view architecture does not allow us to wait for the setEnabled() pending operation to be completed and therefore the account is re-enabled before it even gets disabled on MC.
I can't reproduce this. I've selected an account and pressed space really fast (which disables/enables) and all is absolutely fine. Clicking quickly tends to trigger the account edit dialog I can see how it's theoretically an issue, but practically I'm not able to reproduce it. Can anyone else? Please repoen if anyone can actually reproduce this.
I used to be able to reproduce it, now I can't anymore, all works as supposed.
I am not able to reproduce the original issue either. There is still a minor painting issue though: Select a connected account, disable it and re-enable it fast from the check box. The edit account dialog will pop up, press cancel. The checkbox now has a grayed-out tick on it, but it is disabled. You can also reproduce it in the opposite way, with a disabled account, enabling it and re-disabling it fast. Unfortunately it gets removed after a repaint event, so I cannot take a screenshot of it.