resetting a menu item label to its original value in a guard
|Assignee:||J. Templ||% Done:|
When the label of a menu item is changed by a guard, it cannot be reset to its original value later due to an inappropriate optimization in HostMenus.PrepareMenu.
A proposal for the fix by Gerard Meunier exists in CPC 1.7 rc5.
Reported by Gerard Meunier, 2013-11-19.
Refers to CPC 1.7 rc5 change list number 38.
fix for resetting a menu item label to its original value in a guard. Refs: #70.
This fix removes an optimization in HostMenus.PrepareMenu:
The menu item label was updated only if it differed from its standard value.
Resetting a changed label to its original value is thereby not
detected correctly as a change.
Fix as proposed by Gerard Meunier in CPC 1.7 rc5.
Signed-off-by: Josef Templ <email@example.com>