Skip to content

Commit

Permalink
Fixed bug on COMPRESS widget
Browse files Browse the repository at this point in the history
COMPRESS option is now re-set correctly when loading the previous_options file in the GUI or loading a JSON file.
  • Loading branch information
lbusett committed Aug 9, 2017
1 parent 8beb9f0 commit 633c2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/MODIStsp_GUI.R
Expand Up @@ -847,7 +847,7 @@ MODIStsp_GUI <- function(general_opts, prod_opt_list, scrollWindow, MODIStsp_dir
size(compress_lab) <- list(width = 130)
font(compress_lab) <- list(family = "sans", weight = "bold")
compress_wid <- gcombobox(names(compress_dict), container = compress_group,
selected <- match(general_opts$compress, names(compress_dict)))
selected <- match(general_opts$compress, compress_dict))
if (general_opts$out_format == "GTiff") {
enabled(compress_group) <- TRUE
} else {
Expand Down

0 comments on commit 633c2dd

Please sign in to comment.