From 0adfec2e631a8257b39c13d8beea576057a46d2b Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sun, 19 Nov 2023 23:09:02 +0000 Subject: [PATCH] fixes regression loading config on startup patch bump --- pyproject.toml | 2 +- src/nvda_voicemeeter/window.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bf3b1aa..be4ea19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" }, diff --git a/src/nvda_voicemeeter/window.py b/src/nvda_voicemeeter/window.py index 3af36eb..8f5132c 100644 --- a/src/nvda_voicemeeter/window.py +++ b/src/nvda_voicemeeter/window.py @@ -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)