Skip to content
Success

Changes

Summary

  1. Planner: Fix nullPointer when layouting hierarchical menus (commit: 0fa2f08) (details)
Commit 0fa2f082824f364dc01f43cb59c2ca3e6d84df4e by Claudio Guglielmo
Planner: Fix nullPointer when layouting hierarchical menus

When the menu property is updated with the same value after the
initialization, a null pointer exception occurs when layouting
hierarchical menus. This is because the menu gets removed, but not
rendered again. The equals check in Widget#setPropertyInternal and
MenuBar#setMenuItems are not the same. This change prevents the removal
of the menus.

384547
(commit: 0fa2f08)
The file was modified eclipse-scout-core/src/planner/Planner.ts (diff)