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

Prevent duplicate math/decoder signals when restoring a session #53

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ramonfelder
Copy link
Contributor

I added some changes to remove all old math/decoder signals when a session is restored from a file.
Also, overwriting a session setup file, old entries in the file are deleted.

When a QSettings object is created with an already existing file, all settings are copied from that file.
This leads to orphaned entries in the file when overwriting an existing settings file,
unless the QSettings object is explicitly cleared before adding the new entries.
@ramonfelder ramonfelder marked this pull request as ready for review September 7, 2022 10:19
Before view are restored from a session setup file, all old views, except the base view, are removed from the session and UI.
The main view is reset to its initial state, removing time markers and selection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants