summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-27 10:03:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-27 14:45:22 +0200
commit3395e0baa6350e6f9e093fe5af51d283f45fede7 (patch)
tree453f0197a4b7096bf6a6996c9e71b162273c987f /svx/source/fmcomp
parentc0fac974cefffb16e811259fbc66148712533190 (diff)
Setting the Button repeat is ignored in practice
The timeout used is still the original 90ms, not the attempt to use 22ms so this doesn't achieve anything. Making 22ms stick is way too fast, so leave this at the value that is currently actually used. Change-Id: I7207dd9adebf4e0f7f4e486a71f388bc6760d939 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99470 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r--svx/source/fmcomp/gridctrl.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index f3b06d9d6453..820df8eb75e9 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -356,13 +356,6 @@ DbGridControl::NavigationBar::NavigationBar(vcl::Window* pParent)
m_aRecordCount->Disable();
m_aAbsolute->Disable();
- AllSettings aSettings = m_aNextBtn->GetSettings();
- MouseSettings aMouseSettings = aSettings.GetMouseSettings();
- aMouseSettings.SetButtonRepeat(aMouseSettings.GetButtonRepeat() / 4);
- aSettings.SetMouseSettings(aMouseSettings);
- m_aNextBtn->SetSettings(aSettings, true);
- m_aPrevBtn->SetSettings(aSettings, true);
-
m_aFirstBtn->Show();
m_aPrevBtn->Show();
m_aNextBtn->Show();