Revert "Fixed #291 (readonly custom menus become non-readonly when block is edited)"

This reverts commit 9d63d129a68713a092a39c37025f896ec4edf00f.
Merge branch 'c_snap2'