boltex / leojs

Leo Literate Editor with Outline in Typescript
https://boltex.github.io/leojs/
MIT License
34 stars 2 forks source link

Revert to saved does not refresh the @button panel #81

Closed boltex closed 9 months ago

boltex commented 11 months ago

It seems to reload the parts of the outline based on the saved file, but removed or added @buttons in the button panel do not reflect what should be appearing in it from the saved file. (it does not seem to be rebuilt)

Perhaps the revert command does not really destroy and rebuild the commander?

As starting point/ hint to help fix this: There was a similar problem lately in the real Leo which was fixed. So this might be related.

boltex commented 9 months ago

the commit in Leo referred in the message above is a0f7fa0780135eb58b5f14815190cb695f1cbd22

boltex commented 9 months ago

Fixed in devel.