[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - vcl/source

Justin Luth (via logerrit) logerrit at kemper.freedesktop.org
Wed May 6 10:23:29 UTC 2020


 vcl/source/control/button.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 64d7f805616fd781d87b49156860d96f081a5a45
Author:     Justin Luth <justin_luth at sil.org>
AuthorDate: Tue May 5 21:13:07 2020 +0300
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed May 6 12:22:58 2020 +0200

    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 at sil.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

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;
 }
 


More information about the Libreoffice-commits mailing list