Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Set relative-path button's value when loading patch from disk

  • Loading branch information...
commit b42538d30397869b10610cb505fde3c597824ce9 1 parent 9c92a84
James Harkins authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 HadronPlugins/HrBuffer.sc
View
5 HadronPlugins/HrBuffer.sc
@@ -160,7 +160,10 @@ HrBuffer : HadronPlugin {
];
saveSets = [
{ |argg| this.makeBuffer(argg / Server.default.sampleRate) },
- { |argg| relativePath = argg },
+ { |argg|
+ relativePath = argg;
+ defer { relButton.value = if(argg) { 1 } { 0 } };
+ },
{ |argg|
if(argg.notNil and: { argg != "" }) {
if(relativePath and: { parentApp.path.notNil }) {
Please sign in to comment.
Something went wrong with that request. Please try again.