Does not commit space when user uses 1~5 to select candidate.
authorHuang Peng <shawn.p.huang@gmail.com>
Tue, 10 Jun 2008 05:48:34 +0000 (13:48 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Tue, 10 Jun 2008 05:48:34 +0000 (13:48 +0800)
engine/demo/engine.py

index 9a0ed8c..8e2594b 100644 (file)
@@ -53,7 +53,7 @@ class Engine (interface.IEngine):
                                if index >= len (candidates):
                                        return False
                                candidate = candidates[index][0]
-                               self._commit_string (candidate + " ")
+                               self._commit_string (candidate)
                                return True
                        elif keyval == keysyms.Page_Up or keyval == keysyms.KP_Page_Up:
                                if self._lookup_table.page_up ():