commit 515fde8af546f5d93a258a71fe04f1b8ac9ce17d
parent 88ba1d40b57e79b91c99d4eea3f4579ff45ed8f4
Author: Christopher A. Oliver <caowasteland@gmail.com>
Date: Sun, 25 Oct 2015 13:51:13 -0400
Fix no-thinkum code change.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/UI/BankView.cpp b/src/UI/BankView.cpp
@@ -277,7 +277,7 @@ void BankView::react(int event, int nslot)
}
//Reads from slot
- if ((event==1)&&(mode==1) && isempty){
+ if ((event==1)&&(mode==1) && !isempty){
printf("Loading a part #%d with file '%s'\n", nslot, slot.filename());
osc->write("/load-part", "is", *npart, slot.filename());
osc->writeValue("/part"+to_s(*npart)+"/name", slot.name());