Fix Select component not reacting to changed list (#2885)

* Fix Select component not reacting to changed list

Fixes #2882.

* Add msys to path on Windows in VSC settings
This commit is contained in:
RumovZ 2023-12-11 00:12:34 +01:00 committed by GitHub
parent 6f3550464d
commit c11e40b11b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View file

@ -35,5 +35,8 @@
"qt/bundle/PyOxidizer": true "qt/bundle/PyOxidizer": true
}, },
"rust-analyzer.cargo.buildScripts.enable": true, "rust-analyzer.cargo.buildScripts.enable": true,
"python.analysis.typeCheckingMode": "off" "python.analysis.typeCheckingMode": "off",
"terminal.integrated.env.windows": {
"PATH": "c:\\msys64\\usr\\bin;${env:Path}"
}
} }

View file

@ -10,6 +10,11 @@
], ],
"windows": { "windows": {
"command": "bash", "command": "bash",
"options": {
"env": {
"PATH": "c:\\msys64\\usr\\bin;${env:Path}"
}
},
"args": [ "args": [
"ninja", "ninja",
"pylib", "pylib",

View file

@ -37,7 +37,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
content: item as unknown as C, content: item as unknown as C,
}; };
}; };
const parsed = list $: parsed = list
.map(parser) .map(parser)
.map(({ content, value: initialValue, disabled = false }, i) => { .map(({ content, value: initialValue, disabled = false }, i) => {
if ((initialValue === undefined && i === value) || initialValue === value) { if ((initialValue === undefined && i === value) || initialValue === value) {