aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-07-06 19:34:21 +0200
committerDavid Runge <dave@sleepmap.de>2016-07-06 19:34:21 +0200
commit83729188d938756c60458e0722bcb58e27e11736 (patch)
tree6b9e0ee69170309c9edececdc31ccb11986148a7
parent3415ffa52d0e3a9f42b9fe7ee807ebd860926b27 (diff)
downloadbowelyzer-83729188d938756c60458e0722bcb58e27e11736.tar.gz
bowelyzer-83729188d938756c60458e0722bcb58e27e11736.tar.bz2
bowelyzer-83729188d938756c60458e0722bcb58e27e11736.tar.xz
bowelyzer-83729188d938756c60458e0722bcb58e27e11736.zip
classes/BowelyzerGUI.sc: Updating to correct fileMode in save button. Adding TODO for inactive Button states.
-rw-r--r--classes/BowelyzerGUI.sc3
1 files changed, 2 insertions, 1 deletions
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
);