How to contract expanded objects?

For some reason all objects (that are groups) exapnded in the object manager. I have hundreds of them and I need to contract them all without having to click in the minus sign on each and every one of them in the Object Manager. I figure if they got expanded automatically I must have clicked on something and then there must also be a command or something to contract them all.

I now restarted the program and the problem was resolved, but it might be useful to know if there is a command to expand/contract all objects.

Parents
No Data
Reply Children
No Data