The UI code assumed that either a layer or a group is always active which is not always the case. It can happen that nothing is active. The fix makes sure the this case is handled correctly.
The UI code assumed that either a layer or a group is always active which is not always the case. It can happen that nothing is active. The fix makes sure the this case is handled correctly.