diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-01-28 20:58:43 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-01-28 20:58:49 +0200 |
commit | 063105b4af5518fd8306246ea49326958e435e1a (patch) | |
tree | 371da9363c4be8dd975467f164cd1000ef307e93 /sc | |
parent | e6a1f33e500c4fb5e38e7d6de7ddb55af8fa8650 (diff) |
Disable the 'Test OpenCL' button once pressed
Change-Id: I6678502472f646ae770be4d17d85f2a02fba8f4b
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/optdlg/calcoptionsdlg.cxx | 4 |
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. |