[haiku-commits] r35886 - haiku/trunk/src/preferences/keyboard

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 17 Mar 2010 11:07:31 +0100 (CET)

Author: stippi
Date: 2010-03-17 11:07:31 +0100 (Wed, 17 Mar 2010)
New Revision: 35886
Changeset: http://dev.haiku-os.org/changeset/35886/haiku
Ticket: http://dev.haiku-os.org/ticket/5281

Modified:
   haiku/trunk/src/preferences/keyboard/KeyboardWindow.cpp
Log:
r34118 broke setting the repeat delay in the Keyboard preflet.
Thanks to diver for tracking it down! Fixes #5281.


Modified: haiku/trunk/src/preferences/keyboard/KeyboardWindow.cpp
===================================================================
--- haiku/trunk/src/preferences/keyboard/KeyboardWindow.cpp     2010-03-16 
21:34:07 UTC (rev 35885)
+++ haiku/trunk/src/preferences/keyboard/KeyboardWindow.cpp     2010-03-17 
10:07:31 UTC (rev 35886)
@@ -168,8 +168,10 @@
                        if (delay >= 875000)
                                delay = 1000000;
 
+                       fSettings.SetKeyboardRepeatDelay(delay);
+
                        slider = (BSlider* )FindView("delay_until_key_repeat");
-                       if (slider !=NULL) 
+                       if (slider != NULL) 
                                slider->SetValue(delay);
 
                        fDefaultsButton->SetEnabled(fSettings.IsDefaultable());


Other related posts:

  • » [haiku-commits] r35886 - haiku/trunk/src/preferences/keyboard - superstippi