mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-22 10:00:46 +00:00
fixes regression loading config on startup
patch bump
This commit is contained in:
parent
dacc972b17
commit
0adfec2e63
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "nvda_voicemeeter"
|
name = "nvda_voicemeeter"
|
||||||
version = "0.6.0"
|
version = "0.6.1"
|
||||||
description = "A Voicemeeter app compatible with NVDA"
|
description = "A Voicemeeter app compatible with NVDA"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "onyx-and-iris", email = "code@onyxandiris.online" },
|
{ name = "onyx-and-iris", email = "code@onyxandiris.online" },
|
||||||
|
@ -509,15 +509,15 @@ class NVDAVMWindow(psg.Window):
|
|||||||
file_types=(("XML", ".xml"),),
|
file_types=(("XML", ".xml"),),
|
||||||
):
|
):
|
||||||
filepath = Path(filepath)
|
filepath = Path(filepath)
|
||||||
configuration.set("default_settings", str(filepath))
|
configuration.set("default_config", str(filepath))
|
||||||
self.TKroot.after(
|
self.TKroot.after(
|
||||||
200,
|
200,
|
||||||
self.nvda.speak,
|
self.nvda.speak,
|
||||||
f"config {filepath.stem} set as default on startup",
|
f"config {filepath.stem} set as default on startup",
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
configuration.delete("default_settings")
|
configuration.delete("default_config")
|
||||||
self.logger.debug("default_settings removed from settings.json")
|
self.logger.debug("default_config removed from settings.json")
|
||||||
|
|
||||||
case [theme, ["MENU", "THEME"]]:
|
case [theme, ["MENU", "THEME"]]:
|
||||||
chosen = " ".join(theme)
|
chosen = " ".join(theme)
|
||||||
|
Loading…
Reference in New Issue
Block a user