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

handle toolbar stats loading in Anki 2.1.54-qt5 #2

Merged
merged 1 commit into from
Dec 11, 2022

Conversation

rameauv
Copy link
Owner

@rameauv rameauv commented Dec 11, 2022

Handle the case where the toolbar stats are loaded before the profile.

Since Anki 2.1.50, the "top_toolbar_did_init_links" hook is triggered before the profile is loaded, which raises an error because we need the profile to be loaded to be able to retrieve the stats.

Handle the case where the toolbar stats are loaded before the profile.

Since Anki 2.1.50, the "top_toolbar_did_init_links" hook is triggered before the profile is loaded, which raises an error because we need the profile to be loaded to be able to retrieve the stats.
@rameauv rameauv merged commit f758920 into master Dec 11, 2022
rameauv added a commit that referenced this pull request Jul 7, 2023
Handle the case where the toolbar stats are loaded before the profile.

Since Anki 2.1.50, the "top_toolbar_did_init_links" hook is triggered before the profile is loaded, which raises an error because we need the profile to be loaded to be able to retrieve the stats.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant