diff --git a/cpp/version.cmake b/cpp/version.cmake index ff1a1034..70e05a80 100644 --- a/cpp/version.cmake +++ b/cpp/version.cmake @@ -1,7 +1,7 @@ set(VERSION_MAJOR 6) set(VERSION_MINOR 19) -set(VERSION_PATCH 4) +set(VERSION_PATCH 5) set(VERSION_REVISION 0) set(LUNA_VERSION "{${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},${VERSION_REVISION}}") add_library(VERSION_DEF ${CMAKE_CURRENT_LIST_DIR}/version_def.cpp) diff --git a/py/LunaTranslator/cishu/mdict.py b/py/LunaTranslator/cishu/mdict.py index 5b587f5b..d95391c3 100644 --- a/py/LunaTranslator/cishu/mdict.py +++ b/py/LunaTranslator/cishu/mdict.py @@ -160,9 +160,9 @@ class IndexBuilder(object): index["file_pos"] = result[1] index["compressed_size"] = result[2] index["decompressed_size"] = result[3] - index["record_start"] = result[5] - index["record_end"] = result[6] - index["offset"] = result[7] + index["record_start"] = result[4] + index["record_end"] = result[5] + index["offset"] = result[6] indexes.append(index) return indexes diff --git a/py/LunaTranslator/gui/usefulwidget.py b/py/LunaTranslator/gui/usefulwidget.py index c6edc556..1f8e3101 100644 --- a/py/LunaTranslator/gui/usefulwidget.py +++ b/py/LunaTranslator/gui/usefulwidget.py @@ -1568,6 +1568,7 @@ class auto_select_webview(QWidget): self._maybecreate_internal() if dyna: switchtypes.append(self) + self.setHtml("") @staticmethod def switchtype():