Skip to content

Copy/paste model values to system clipboard#4257

Merged
Wallacoloo merged 1 commit into
LMMS:masterfrom
Wallacoloo:refactor/model-clipboard-paste
Mar 20, 2018
Merged

Copy/paste model values to system clipboard#4257
Wallacoloo merged 1 commit into
LMMS:masterfrom
Wallacoloo:refactor/model-clipboard-paste

Conversation

@Wallacoloo

Copy link
Copy Markdown
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