[rkward-cvs] [rkward] rkward/plugins/00saveload/save: oops, setting an empty label for <browser> also made .addFromUI() produce an empty variable name and by that an infinte loop. maybe add a check to the JS function?

m.eik michalke meik.michalke at uni-duesseldorf.de
Thu Dec 4 14:41:01 UTC 2014


Git commit e02ab52ed69932767a8841b1d824e5cb0ff6375c by m.eik michalke.
Committed on 04/12/2014 at 14:38.
Pushed by meikm into branch 'master'.

oops, setting an empty label for <browser> also made .addFromUI() produce an empty variable name and by that an infinte loop. maybe add a check to the JS function?

M  +1    -1    rkward/plugins/00saveload/save/write_csv.js

http://commits.kde.org/rkward/e02ab52ed69932767a8841b1d824e5cb0ff6375c

diff --git a/rkward/plugins/00saveload/save/write_csv.js b/rkward/plugins/00saveload/save/write_csv.js
index eaef355..d84fd7e 100644
--- a/rkward/plugins/00saveload/save/write_csv.js
+++ b/rkward/plugins/00saveload/save/write_csv.js
@@ -102,7 +102,7 @@ function printout(){
 	// printout the results
 
 
-	new Header(i18n("Export Table / CSV files")).addFromUI("file").addFromUI("x").print();
+	new Header(i18n("Export Table / CSV files")).add(i18n("File"), getValue("file")).addFromUI("x").print();
 
 
 }





More information about the rkward-tracker mailing list