Bug #70

resetting a menu item label to its original value in a guard

Added by J. Templ almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:09/23/2015
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7
Forum topic:

Description

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.

Associated revisions

Revision 6eea5704
Added by J. Templ almost 4 years ago

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 <>

History

#1 Updated by J. Templ almost 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF