[rkward-cvs] SF.net SVN: rkward:[4123] trunk/rkward/rkward/rkconsole.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Wed Dec 14 15:38:21 UTC 2011
Revision: 4123
http://rkward.svn.sourceforge.net/rkward/?rev=4123&view=rev
Author: tfry
Date: 2011-12-14 15:38:20 +0000 (Wed, 14 Dec 2011)
Log Message:
-----------
Another addition to r4080: Also make tab key work
Revision Links:
--------------
http://rkward.svn.sourceforge.net/rkward/?rev=4080&view=rev
Modified Paths:
--------------
trunk/rkward/rkward/rkconsole.cpp
Modified: trunk/rkward/rkward/rkconsole.cpp
===================================================================
--- trunk/rkward/rkward/rkconsole.cpp 2011-12-14 15:21:13 UTC (rev 4122)
+++ trunk/rkward/rkward/rkconsole.cpp 2011-12-14 15:38:20 UTC (rev 4123)
@@ -344,6 +344,10 @@
}
return true;
} else if (key == Qt::Key_Tab) {
+ KTextEditor::CodeCompletionInterface *iface = qobject_cast<KTextEditor::CodeCompletionInterface*> (view);
+ if (iface && iface->isCompletionActive ()) {
+ return false;
+ }
doTabCompletion ();
return 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