[rkward-cvs] SF.net SVN: rkward: [2148] trunk/rkward

tfry at users.sourceforge.net tfry at users.sourceforge.net
Tue Oct 30 15:36:54 UTC 2007


Revision: 2148
          http://rkward.svn.sourceforge.net/rkward/?rev=2148&view=rev
Author:   tfry
Date:     2007-10-30 08:36:54 -0700 (Tue, 30 Oct 2007)

Log Message:
-----------
Backport rev. 2147

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/rkward/rkconsole.cpp

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2007-10-30 15:33:25 UTC (rev 2147)
+++ trunk/rkward/ChangeLog	2007-10-30 15:36:54 UTC (rev 2148)
@@ -1,3 +1,4 @@
+- Fixed: Console accepted pasted input while a command is running
 - Fixed: Analysis->Moments->Moment plugin did not use the order-parameter
 - Fixed: Crash on simple assignments in globalenv() with R < 2.4.0
 - Fixed: Meta information (labels) did not get shown correctly in the data editor

Modified: trunk/rkward/rkward/rkconsole.cpp
===================================================================
--- trunk/rkward/rkward/rkconsole.cpp	2007-10-30 15:33:25 UTC (rev 2147)
+++ trunk/rkward/rkward/rkconsole.cpp	2007-10-30 15:36:54 UTC (rev 2148)
@@ -616,6 +616,8 @@
 
 void RKConsole::submitBatch (const QString &batch) {
 	RK_TRACE (APP);
+
+	if (current_command) return;
 	// splitting batch, not allowing empty entries.
 	// TODO: hack something so we can have empty entries.
 	commands_batch = QStringList::split ("\n", batch, true);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list