From 83729188d938756c60458e0722bcb58e27e11736 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 6 Jul 2016 19:34:21 +0200 Subject: classes/BowelyzerGUI.sc: Updating to correct fileMode in save button. Adding TODO for inactive Button states. --- classes/BowelyzerGUI.sc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/BowelyzerGUI.sc b/classes/BowelyzerGUI.sc index e26798e..675e100 100644 --- a/classes/BowelyzerGUI.sc +++ b/classes/BowelyzerGUI.sc @@ -306,6 +306,7 @@ BowelyzerGUI{ arg parent; ^Button(parent, Rect(0, 0, buttonWidth, buttonHeight)) .states_([ + //TODO: set Color depending on whether config file is not "" ["save", Color.black, Color.fromHexString("#99FF99")], ]) .action_({ @@ -336,7 +337,7 @@ BowelyzerGUI{ address.sendMsg(type, path.asString); }, cancelFunc: {}, - fileMode: 1, + fileMode: 0, acceptMode: 1, stripResult: true ); -- cgit v1.2.3-70-g09d2