Fixed the addition of menu items to empty menus.
Fixed the addition of menu items to empty menus.

slyrus/mcclim,slyrus/mcclim,antifuchs/mcclim,onixie/mcclim,swflint/McCLIM,swflint/McCLIM,onixie/mcclim,onixie/mcclim,antifuchs/mcclim,swflint/McCLIM