Jump to content

Refresh menu items in extension?


Recommended Posts

Posted · Refresh menu items in extension?

Hi UltiMaker community!

 

I'm currently developing a plugin that includes an extension.

The plugin allows users to login to a service, and I'd like for the (top bar) menu to have two states:

1. A log in option if the user is not logged in

2. A log out and a settings item  if the user is logged in

 

But I can't seem to figure out if it's possible to change the content of the menu after it has already been cached.

 

I am hoping someone has an idea of how to execute this, or an alternative method.

 

Thanks!

  • Like 1
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • UltiMaker Cura 5.4 stable released
      The full stable release of UltiMaker Cura 5.4 is here and it makes it easier than ever to remove brims and supports from your finished prints. UltiMaker S series users can also look forward to print profiles for our newest UltiMaker PET CF composite material!
        • Like
      • 58 replies
×
×
  • Create New...