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)