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

Add application events for indicating start/finish of restoring session #1349

Closed
EugeneZelenko opened this issue Apr 25, 2023 · 2 comments · Fixed by #1355
Closed

Add application events for indicating start/finish of restoring session #1349

EugeneZelenko opened this issue Apr 25, 2023 · 2 comments · Fixed by #1355
Assignees
Milestone

Comments

@EugeneZelenko
Copy link
Contributor

Hi, Matthias!

It'll be great to add Application events that indicate start/finish of restoring state . I'd like to tweak layout views loaded from session, so relevant callback could be installed/uninstalled easily. Alternative requires to keep track of all layout views.

@klayoutmatthias
Copy link
Collaborator

I have added two new events to MainWindow (because that is the object that does the session restore): on_session_about_to_be_restored and on_session_restored.

@EugeneZelenko
Copy link
Contributor Author

Hi, Matthias!

Thank you for help!

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

Successfully merging a pull request may close this issue.

2 participants