aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2014-05-12 17:20:59 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2014-05-12 17:20:59 +0200
commitb8b1fb49a269e3f33dde70a72b0d6b441fba9f44 (patch)
tree74147207d28b71cd38f7ba490aca60c48f0e9bec
parent3a8db4b71d77f05c4d1e753558f5ecc505bf69af (diff)
Fix initialisation of err variable after uploading data
-rw-r--r--inst/GUI/gmkin.R2
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()

Contact - Imprint