summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2020-05-05 21:13:07 +0300
committerCaolán McNamara <caolanm@redhat.com>2020-05-12 17:06:52 +0200
commit847676611b604d8ffcf00d07478437c30a012e46 (patch)
treecbc96f38c99f53a08f5ba7b8be3bdbc4175060bb
parentf29c24a8c23f232d4f59eb35984f6502043f44e5 (diff)
Revert "tdf#125609c10 vcl/button: enforce only one radio selected on init"
This reverts commit d35171456bc230efdaa9426da1398b2db7fa0df8, in order to resolve tdf#132581. Only applying this to LO 6.4 which is nearing stable. An attempt to find the real problem will be made for 7.0, but since this reverted commit is really obsolete, it can easily just be reverted. (It fixes a situation caused by a commit that has since been fully reverted. So it should still be a valid fix, but if it exposes other problems, it can easily just be removed to cover them up again...) Change-Id: I0d765ce0cc4ab2b9d282d36a239518d43d6015ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93522 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 64d7f805616fd781d87b49156860d96f081a5a45) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93532 Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/source/control/button.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 7d235e6bd4c8..f3fedd972a68 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -1821,9 +1821,6 @@ WinBits RadioButton::ImplInitStyle( const vcl::Window* pPrevWindow, WinBits nSty
nStyle &= ~WB_TABSTOP;
}
- if ( IsChecked() && IsRadioCheckEnabled() )
- ImplUncheckAllOther( /*bSetStyle=*/false );
-
return nStyle;
}