[caribou] Fixed latched behavior in KeyboardModel



commit c1a605a2451f14e05ee3aa6a2bdfaabf336c4f2a
Author: Eitan Isaacson <eitan monotonous org>
Date:   Thu May 5 16:55:33 2011 -0400

    Fixed latched behavior in KeyboardModel

 libcaribou/level-model.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcaribou/level-model.vala b/libcaribou/level-model.vala
index 14e8ea8..321a355 100644
--- a/libcaribou/level-model.vala
+++ b/libcaribou/level-model.vala
@@ -33,7 +33,7 @@ namespace Caribou {
         private void on_key_clicked (KeyModel key) {
             if (key.toggle != "")
                 level_toggled (key.toggle);
-            else
+            else if (mode == "latched")
                 level_toggled ("default");
         }
 



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