diff --git a/app/source/TodoPrefs.js b/app/source/TodoPrefs.js index 6041e8a..7e57e5c 100644 --- a/app/source/TodoPrefs.js +++ b/app/source/TodoPrefs.js @@ -90,7 +90,7 @@ enyo.kind({ {flex: 1, kind: "Input", name: "filepath", preferenceProperty: "filepath", hint: "file path", - disabled: true + disabled: false } ]}, {kind: "Item", layoutKind: "HFlexLayout", diff --git a/app/source/TodoTxt.js b/app/source/TodoTxt.js index 7616362..5bf8b1d 100644 --- a/app/source/TodoTxt.js +++ b/app/source/TodoTxt.js @@ -109,6 +109,7 @@ enyo.kind({ className: "enyo-box-input", owner:this.$.editView} ); this.$.editView.render(); + this.$.preferenceView.$.filepath.setDisabled(false); } else { this.os = "unknown"; }