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:
parent
3421a3825a
commit
6dbb2eef50
@ -604,7 +604,6 @@ export const PopupSwitchMenuItem = GObject.registerClass({
|
|||||||
|
|
||||||
setToggleState(state) {
|
setToggleState(state) {
|
||||||
this._switch.state = state;
|
this._switch.state = state;
|
||||||
this._checkAccessibleState();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_onToggled() {
|
_onToggled() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user