Commit 3ad56a76 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Merge branch 'grouped-toggle-fix' into 'master'

togglebutton: Fix expected group behavior

See merge request !3425
parents 21a1a405 233e6622
Pipeline #273938 failed with stages
in 32 minutes and 47 seconds
......@@ -199,6 +199,9 @@ gtk_toggle_button_clicked (GtkButton *button)
GtkToggleButton *toggle_button = GTK_TOGGLE_BUTTON (button);
GtkToggleButtonPrivate *priv = gtk_toggle_button_get_instance_private (toggle_button);
if (priv->active && (priv->group_prev || priv->group_next))
return;
gtk_toggle_button_set_active (toggle_button, !priv->active);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment