Add "Duplicate" button - #5143
Conversation
|
Workflow failed, but the following artifacts are still available for this pull request: |
|
This approach will probably work. But it is more efficient to handle the duplicated instance creation and data copy in the c++ backend. Being more specific in the db_manager class. After the call to One of the reasons why I think it is better to handle this on c++ side is that some plugins like the multiband gate and compressor really have a huge amount of parameters. Although it is mostly just copy doing all of this in qml thread is probably not going to be nice to weak computers. |
Actually it is not even needed to call it. After an update to the plugins list the |
I’ll work on getting this implemented. I’m on vacation right now and have no access to a laptop but when I get home I’ll update db_manager from the onDuplicate QML function. Thank you for the suggestion!! |
Why?
Having a duplicate button would save significant amounts of time while adding multiple of the same effect (I found that when I was adding filters for EQing my speakers it would be a nice UX improvement to have a "Duplicate" button)
To-Do
There's a chance one effect being duplicated will break the logic I built!
The try catch I made could be used to easily see if there is a problem while copying values of effects