X-Git-Url: http://git.scottworley.com/picsort/blobdiff_plain/1433682c107c0cfe6e809f78018de55c89c775c3..b11d9c69e1dd6e101895d14c8805f664a38e7ca9:/picsorter.js diff --git a/picsorter.js b/picsorter.js index c39e181..cf2c399 100644 --- a/picsorter.js +++ b/picsorter.js @@ -91,6 +91,10 @@ function mark_not_deleted() { } function change_exposure(amount) { + if (!endsWith(files[input_index], ".NEF")) { + say("Exposure adjustment not available"); + return; + } exposure += amount; picinfo[files[input_index]].exposure = exposure; save_picinfo();