From 67b8280f6a35a7c6ab12e2e65cf5ee1060f350fa Mon Sep 17 00:00:00 2001 From: Gemmstone Date: Tue, 13 Aug 2024 04:49:22 -0500 Subject: [PATCH] fixed names in models not appearing when having a dot (.) --- Core/imageGallery.py | 2 +- Data/settings.json | 2 +- main.py | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Core/imageGallery.py b/Core/imageGallery.py index 6dc884db..26640fb8 100644 --- a/Core/imageGallery.py +++ b/Core/imageGallery.py @@ -473,7 +473,7 @@ def rename_model(self): if ok: os.rename( os.path.join(self.res_dir, "Models", self.modelType, self.modelName), - os.path.join(self.res_dir, "Models", self.modelType, modelName) + os.path.join(self.res_dir, "Models", self.modelType, modelName.replace(".", "_")) ) self.setTitle(modelName) self.modelName = modelName diff --git a/Data/settings.json b/Data/settings.json index a883e01d..eddf1bbb 100644 --- a/Data/settings.json +++ b/Data/settings.json @@ -2,7 +2,7 @@ "volume threshold": 17, "scream threshold": 65, "delay threshold": 4, - "microphone selection": 4, + "microphone selection": 5, "microphone mute": false, "background color": 0, "export mode": 0, diff --git a/main.py b/main.py index 22930795..89bfc8ec 100644 --- a/main.py +++ b/main.py @@ -36,6 +36,8 @@ os.environ['QTWEBENGINE_REMOTE_DEBUGGING'] = '4864' os.environ['QTWEBENGINE_CHROMIUM_FLAGS'] = '--no-sandbox' +os.environ["QT_SCALE_FACTOR"] = "1.0" + if os.name == 'nt': from ctypes import windll