editor: paste ID+1: midi-related addresses should not be incremented

This commit is contained in:
bordun 2020-10-25 18:06:59 +01:00
parent 2b02d29287
commit 0ac8f0ffc9
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@
- ssl: generate unique certificates (with random serial numbers) to avoid reuse errors. Certificates generated with older versions of o-s-c will be updated automatically.
- `~/` path prefix not recognized when using remote control commands like `/SESSION/SAVE`
- `~/` path prefix not recognized in `remote-root` option
- editor: paste ID+1: midi-related addresses should not be incremented
- remote control
- add `/STATE/OPEN` and `/STATE/SAVE` commands

View file

@ -182,7 +182,7 @@ var incrementWidget = function(data, root){
data.address = 'auto'
} else if (address !== 'auto') {
} else if (!address.match(/^auto|\/control|\/note|\/program|\/sysex|\/key_pressure|\/channel_pressure|\/pitch/) !== 'auto') {
var addressref
while (fakeStore.address.indexOf(address) != -1 || widgetManager.getWidgetByAddress(addressref).length) {