[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara caolanm at redhat.com
Tue May 29 15:38:47 UTC 2018


 vcl/unx/gtk3/gtk3gtkinst.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8a39daaaa1474a9483046a51baa8e448f0a50b7f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue May 29 12:41:07 2018 +0100

    disable inconsistent when setting true/false
    
    Change-Id: Ib612e7f38c7a1a638d69af2a6d26f1293fe0c8da
    Reviewed-on: https://gerrit.libreoffice.org/55011
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index e956f4a3c93b..577d5e1d2744 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -2692,6 +2692,7 @@ public:
     virtual void set_active(bool active) override
     {
         disable_notify_events();
+        gtk_toggle_button_set_inconsistent(m_pToggleButton, false);
         gtk_toggle_button_set_active(m_pToggleButton, active);
         enable_notify_events();
     }


More information about the Libreoffice-commits mailing list