diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2014-05-12 17:20:59 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2014-05-12 17:20:59 +0200 |
commit | b8b1fb49a269e3f33dde70a72b0d6b441fba9f44 (patch) | |
tree | 74147207d28b71cd38f7ba490aca60c48f0e9bec | |
parent | 3a8db4b71d77f05c4d1e753558f5ecc505bf69af (diff) |
Fix initialisation of err variable after uploading data
-rw-r--r-- | inst/GUI/gmkin.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inst/GUI/gmkin.R b/inst/GUI/gmkin.R index a2fb132..71a9f04 100644 --- a/inst/GUI/gmkin.R +++ b/inst/GUI/gmkin.R @@ -376,7 +376,7 @@ new_ds_from_csv_handler <- function(h, ...) { length)$x),
data = tmpdl)
ds[[ds.cur]]$data$override <<- as.numeric(NA)
- if (!is.null(ds[[ds.cur]]$data$err)) ds[[ds.cur]]$data$err <<- 1
+ if (is.null(ds[[ds.cur]]$data$err)) ds[[ds.cur]]$data$err <<- 1
update_ds.df()
ds.gtable[,] <- ds.df
update_ds_editor()
|