[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - vcl/unx

Caolán McNamara caolanm at redhat.com
Tue May 29 19:50:17 UTC 2018


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

New commits:
commit 5dc1b50e952765b160395aef15730c71864786ff
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/55017
    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