We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b493a9 commit c5e89d8Copy full SHA for c5e89d8
1 file changed
src/Widgets/WifiMenuItem.vala
@@ -75,9 +75,10 @@ public class Network.WifiMenuItem : Gtk.ListBoxRow {
75
notify["state"].connect (update);
76
77
// We can't use clicked because we get in a weird loop state
78
- radio_button.button_release_event.connect ((b, ev) => {
79
- activate ();
80
- return Gdk.EVENT_STOP;
+ radio_button.notify["active"].connect (() => {
+ if (radio_button.active) {
+ activate ();
81
+ }
82
});
83
}
84
0 commit comments