[rkward] packages/rkwarddev: fixed rk.XML.spinbox()

m.eik michalke meik.michalke at uni-duesseldorf.de
Thu Oct 1 14:12:22 UTC 2015


Git commit 2e690b1675487ef02a05665b25704722ea6d0867 by m.eik michalke.
Committed on 01/10/2015 at 14:12.
Pushed by meikm into branch 'master'.

fixed rk.XML.spinbox()

  - the generated attribute "max_precision" was misspelled

M  +3    -1    packages/rkwarddev/ChangeLog
M  +1    -1    packages/rkwarddev/R/rk.XML.spinbox.R

http://commits.kde.org/rkward/2e690b1675487ef02a05665b25704722ea6d0867

diff --git a/packages/rkwarddev/ChangeLog b/packages/rkwarddev/ChangeLog
index eb1b811..40791cf 100644
--- a/packages/rkwarddev/ChangeLog
+++ b/packages/rkwarddev/ChangeLog
@@ -1,8 +1,10 @@
 ChangeLog for package rkwarddev
 
-changes in version 0.07-4 (2015-06-29)
+changes in version 0.07-4 (2015-10-01)
 unreleased:
   - this version is under development
+fixed:
+  - attribute "max_precision" in <spinbox> was misspelled
 
 changes in version 0.07-3 (2015-06-29)
 fixed:
diff --git a/packages/rkwarddev/R/rk.XML.spinbox.R b/packages/rkwarddev/R/rk.XML.spinbox.R
index cc89409..136d420 100644
--- a/packages/rkwarddev/R/rk.XML.spinbox.R
+++ b/packages/rkwarddev/R/rk.XML.spinbox.R
@@ -75,7 +75,7 @@ rk.XML.spinbox <- function(label, min=NULL, max=NULL, initial=0, real=TRUE, prec
   } else {}
   if(max.precision != 8){
     check.type(max.precision, "numeric", "max.precision")
-    attr.list[["max.precision"]] <- as.numeric(max.precision)
+    attr.list[["max_precision"]] <- as.numeric(max.precision)
   } else {}
 
   # check for additional i18n info; if FALSE, "label" will be renamed to "noi18n_label"



More information about the rkward-tracker mailing list