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 option to connect last changed model to AutomationClip #7622

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

Conversation

regulus79
Copy link
Contributor

This PR adds a new context menu action to AutomationClipViews which allows users to connect the last changed model.

A pointer to the last changed model is kept as a static variable AutomatableModel::s_lastChangedModel, which is updated in AutomatableModel::setValue(). When the AutomationClipView context menu is constructed, if AutomatableModel::s_lastChangedModel is not a nullptr and if the model's display name is not empty (Many hidden models have empty names, and it would be confusing to show them to users), then an option to connect it is given.

Demo:

2024-12-17.13-51-06.mp4

src/gui/clips/AutomationClipView.cpp Outdated Show resolved Hide resolved
src/gui/clips/AutomationClipView.cpp Outdated Show resolved Hide resolved
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.

2 participants