Fix switch audio input device failed in index page on Linux.

This commit is contained in:
yanfeng
2022-02-28 11:45:02 +08:00
parent 8460c1ac42
commit aa5c7cc38e
4 changed files with 22 additions and 1 deletions

View File

@@ -131,6 +131,7 @@ class AudioInputs: Reactor.Component {
if (v == this.get_value()) return;
if (v == this.get_default()) v = "";
handler.set_option("audio-input", v);
handler.refresh_audio_input();
this.toggleMenuState();
}
}