diff --git a/LunaTranslator/LunaTranslator/gui/rangeselect.py b/LunaTranslator/LunaTranslator/gui/rangeselect.py index b454cac0..8c358621 100644 --- a/LunaTranslator/LunaTranslator/gui/rangeselect.py +++ b/LunaTranslator/LunaTranslator/gui/rangeselect.py @@ -17,7 +17,9 @@ class rangeadjust(Mainw): self._isTracking = False self._rect = None self.setWindowFlags( - Qt.WindowType.WindowStaysOnTopHint | Qt.WindowType.FramelessWindowHint + Qt.WindowType.WindowStaysOnTopHint + | Qt.WindowType.FramelessWindowHint + | Qt.WindowType.Tool ) self.setAttribute(Qt.WidgetAttribute.WA_TranslucentBackground) self.setContextMenuPolicy(Qt.ContextMenuPolicy.CustomContextMenu) @@ -117,7 +119,9 @@ class rangeselct(QMainWindow): super(rangeselct, self).__init__(parent) self.setWindowFlags( - Qt.WindowType.FramelessWindowHint | Qt.WindowType.WindowStaysOnTopHint + Qt.WindowType.FramelessWindowHint + | Qt.WindowType.WindowStaysOnTopHint + | Qt.WindowType.Tool ) self.rectlabel = QLabel(self) # self.setAttribute(Qt.WidgetAttribute.WA_TranslucentBackground) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index acd8be6b..7653a531 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -29,7 +29,7 @@ include(generate_product_version) set(VERSION_MAJOR 3) set(VERSION_MINOR 0) -set(VERSION_PATCH 3) +set(VERSION_PATCH 4) add_library(pch pch.cpp) target_precompile_headers(pch PUBLIC pch.h)