Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrackGit menu multiplies #7

Open
Vidrep opened this issue Oct 18, 2018 · 2 comments
Open

TrackGit menu multiplies #7

Vidrep opened this issue Oct 18, 2018 · 2 comments

Comments

@Vidrep
Copy link

Vidrep commented Oct 18, 2018

Hard to describe...

Each time TrackGit is invoked by a right click in a project, there is another instance of TrackGit added to the menu.
See screenshot!
https://imgur.com/a/zXqjqXO

@janus2
Copy link
Member

janus2 commented Oct 19, 2018

This happen only in the TrackGit repository I did not see this behavior on other projects.

@Hrily
Copy link
Contributor

Hrily commented Oct 24, 2018

The way it was programmed was, whenever the menu is spawned, the code checks for a menu item of add-on and removes if already exists, then continues with creating a menu item of addon.

In case of TrackGit folder, it removes the folder item instead of add-on menu item, which leads to multiple add-on menu items.

This issue can be fixed if the code finds and removes the add-on menu item instead of folder menu item. Or, just update the add-on menu instead of removing and creating every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants