From 1bf9edb063149f89280315b4be3f27da80a6d3c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Fri, 21 Jun 2024 20:01:49 +0800 Subject: [PATCH] . --- LunaTranslator/LunaTranslator/gui/usefulwidget.py | 1 + plugins/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/gui/usefulwidget.py b/LunaTranslator/LunaTranslator/gui/usefulwidget.py index 99f95fc4..4a2f102f 100644 --- a/LunaTranslator/LunaTranslator/gui/usefulwidget.py +++ b/LunaTranslator/LunaTranslator/gui/usefulwidget.py @@ -182,6 +182,7 @@ class MySwitch(QWidget): def click(self): self.setChecked(not self.checked) + self.clicked.emit(self.checked) def sizeHint(self): return QSize( diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 27faad83..4ebcbf4c 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -29,7 +29,7 @@ include(generate_product_version) set(VERSION_MAJOR 5) set(VERSION_MINOR 2) -set(VERSION_PATCH 0) +set(VERSION_PATCH 1) add_library(pch pch.cpp) target_precompile_headers(pch PUBLIC pch.h)