summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-01-28 20:58:43 +0200
committerTor Lillqvist <tml@collabora.com>2015-01-28 20:58:49 +0200
commit063105b4af5518fd8306246ea49326958e435e1a (patch)
tree371da9363c4be8dd975467f164cd1000ef307e93 /sc
parente6a1f33e500c4fb5e38e7d6de7ddb55af8fa8650 (diff)
Disable the 'Test OpenCL' button once pressed
Change-Id: I6678502472f646ae770be4d17d85f2a02fba8f4b
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx
index 12b071f3edad..0eada39c8130 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.cxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx
@@ -655,8 +655,10 @@ struct Reduction : Op
}
-IMPL_LINK( ScCalcOptionsDialog, TestClickHdl, PushButton*, )
+IMPL_LINK( ScCalcOptionsDialog, TestClickHdl, PushButton*, pButton)
{
+ pButton->Disable();
+
// Automatically test the current implementation of OpenCL. If it
// seems good, whitelist it. If it seems bad, blacklist it.