The cause of the issue is both recording of change by ChangeManager and enabling of buttons by ribbon are handled on the same MapTree events. As the order of execution of the handler cannot be known, the enable of Undo button on the ribbon doesn't work sometimes.
The cause of the issue is both recording of change by ChangeManager and enabling of buttons by ribbon are handled on the same MapTree events. As the order of execution of the handler cannot be known, the enable of Undo button on the ribbon doesn't work sometimes.