[rkward-cvs] SF.net SVN: rkward: [2147] branches/KDE4_port/rkward/rkconsole.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Tue Oct 30 15:33:26 UTC 2007


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

Log Message:
-----------
Don't allow pasting in the console while a command is running

Modified Paths:
--------------
    branches/KDE4_port/rkward/rkconsole.cpp

Modified: branches/KDE4_port/rkward/rkconsole.cpp
===================================================================
--- branches/KDE4_port/rkward/rkconsole.cpp	2007-10-30 15:21:39 UTC (rev 2146)
+++ branches/KDE4_port/rkward/rkconsole.cpp	2007-10-30 15:33:25 UTC (rev 2147)
@@ -626,6 +626,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