From 063105b4af5518fd8306246ea49326958e435e1a Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 28 Jan 2015 20:58:43 +0200 Subject: Disable the 'Test OpenCL' button once pressed Change-Id: I6678502472f646ae770be4d17d85f2a02fba8f4b --- sc/source/ui/optdlg/calcoptionsdlg.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sc') 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. -- cgit