fixes regression loading config on startup

patch bump
This commit is contained in:
onyx-and-iris 2023-11-19 23:09:02 +00:00
parent dacc972b17
commit 0adfec2e63
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[project]
name = "nvda_voicemeeter"
version = "0.6.0"
version = "0.6.1"
description = "A Voicemeeter app compatible with NVDA"
authors = [
{ name = "onyx-and-iris", email = "code@onyxandiris.online" },

View File

@ -509,15 +509,15 @@ class NVDAVMWindow(psg.Window):
file_types=(("XML", ".xml"),),
):
filepath = Path(filepath)
configuration.set("default_settings", str(filepath))
configuration.set("default_config", str(filepath))
self.TKroot.after(
200,
self.nvda.speak,
f"config {filepath.stem} set as default on startup",
)
else:
configuration.delete("default_settings")
self.logger.debug("default_settings removed from settings.json")
configuration.delete("default_config")
self.logger.debug("default_config removed from settings.json")
case [theme, ["MENU", "THEME"]]:
chosen = " ".join(theme)