popupMenu: Avoid unnecessary accessible state update in switch items

The accessible state is already updated when changing the switch state.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3576>
This commit is contained in:
Florian Müllner 2024-12-16 15:38:07 +01:00 committed by Marge Bot
parent 3421a3825a
commit 6dbb2eef50

View File

@ -604,7 +604,6 @@ export const PopupSwitchMenuItem = GObject.registerClass({
setToggleState(state) {
this._switch.state = state;
this._checkAccessibleState();
}
_onToggled() {