traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src/core InputEngine.cpp


From: Ben Levitt
Subject: [Traverso-commit] traverso/src/core InputEngine.cpp
Date: Mon, 04 Jun 2007 00:42:56 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Ben Levitt <benjie>     07/06/04 00:42:56

Modified files:
        src/core       : InputEngine.cpp 

Log message:
        Don't do an unmodified command if the user held down modifier keys.  
Fixes the CTRL-SHIFT-Z moves the playhead bug.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/InputEngine.cpp?cvsroot=traverso&r1=1.60&r2=1.61

Patches:
Index: InputEngine.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/InputEngine.cpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -b -r1.60 -r1.61
--- InputEngine.cpp     3 Jun 2007 22:23:30 -0000       1.60
+++ InputEngine.cpp     4 Jun 2007 00:42:56 -0000       1.61
@@ -324,6 +324,11 @@
                // No match found for actions using a modifier key, let's see 
if there
                // is one in the 'normal' actions list.
                if (! data ) {
+                       // This test makes sure that we don't select an 
unmodified command
+                       // when the user is holding down modifier keys.
+                       if (m_activeModifierKeys.size() > 0) {
+                               continue;
+                       }
                        data = 
action->objects.value(QString(item->metaObject()->className()));
                                
                        if (! data ) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]