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

Copy/paste model values to system clipboard #4257

Merged
merged 1 commit into from
Mar 20, 2018

Conversation

Wallacoloo
Copy link
Member

Seeking feedback for this, since it changes a central behavior which hasn't been discussed.

Previously, values for knobs and such were copy/pasted internally, and were not visible across LMMS
instances. This PR moves the clipboard logic out of AutomatableModel.h (a core file), allowing the gui to copy/paste to the system clipboard instead. Now one can paste a value copied from some other application, or another instance of lmms, and vice versa.

Additionally, I now grey out the Paste value option if there is no valid clipboard data to paste.

Previously they were copy/pasted internally, and not visible across LMMS
instances.
@Wallacoloo Wallacoloo merged commit 56b4740 into LMMS:master Mar 20, 2018
@Wallacoloo Wallacoloo deleted the refactor/model-clipboard-paste branch March 20, 2018 07:43
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