Currently the menu hook runs on every profile switch which means you end up with something like this when you switch profiles a few times:
Changed it to use the main_window_did_init hook which only runs once. These hooks were introduced in Anki 2.1.20 which came out 4 years ago so the minimum version on ankiweb might need to be changed.
Currently the menu hook runs on every profile switch which means you end up with something like this when you switch profiles a few times:
Changed it to use the
main_window_did_init
hook which only runs once. These hooks were introduced in Anki 2.1.20 which came out 4 years ago so the minimum version on ankiweb might need to be changed.