From 94f11724534098ac0f08bb6d084d35979f673e5a Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 14 Jul 2016 13:19:07 +0200 Subject: classes/BowelyzerGUI.sc: Setting channel View names type String, too. classes/Bowelyzer.sc: Casting update type String, when checking for empty String on rename. --- classes/Bowelyzer.sc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/Bowelyzer.sc') diff --git a/classes/Bowelyzer.sc b/classes/Bowelyzer.sc index cea4c55..1841cb7 100644 --- a/classes/Bowelyzer.sc +++ b/classes/Bowelyzer.sc @@ -63,7 +63,7 @@ Bowelyzer{ switch(type, \name,{ // if the name is not empty and not used, change to it - if((update != "") && config.config.at(\inputs).includesKey(update).not, { + if((update.asString != "") && config.config.at(\inputs).includesKey(update).not, { //move the controls config.config.at(\controls).put(update.asSymbol, config.config.at(\controls).at(name)); config.config.at(\controls).removeAt(name.asSymbol); -- cgit v1.2.3-54-g00ecf