diff browser_side/panels.py @ 249:c24715dcd2f6

browser_side: set the "workaround" timers to 5 ms instead of 10: - for register and login dialog - for input history cursor position
author souliane <souliane@mailoo.org>
date Fri, 08 Nov 2013 20:50:11 +0100
parents d7c41c84d062
children da0487f0a2e7
line wrap: on
line diff
--- a/browser_side/panels.py	Wed Oct 23 18:32:01 2013 +0200
+++ b/browser_side/panels.py	Fri Nov 08 20:50:11 2013 +0100
@@ -221,7 +221,7 @@
 
         def history_cb(text):
             self.setText(text)
-            Timer(10, lambda: self.setCursorPos(len(text)))
+            Timer(5, lambda: self.setCursorPos(len(text)))
 
         # if keycode == KEY_ENTER and not self.visible:
         if keycode == KEY_ENTER: