diff --git a/src/LunaTranslator/gui/showword.py b/src/LunaTranslator/gui/showword.py index 4a5803bf..fee415bf 100644 --- a/src/LunaTranslator/gui/showword.py +++ b/src/LunaTranslator/gui/showword.py @@ -620,7 +620,7 @@ class AnkiWindow(QWidget): self.viewimagelabel.showpixmap(pix) def selecfile2(self, item): - f = QFileDialog.getOpenFileName(filter=getimagefilefilter()) + f = QFileDialog.getOpenFileName(filter=getimagefilefilter() + ";;*") res = f[0] if res != "": item.setText(res) diff --git a/src/files/defaultconfig/config.json b/src/files/defaultconfig/config.json index bfa1cffe..01bb74b1 100644 --- a/src/files/defaultconfig/config.json +++ b/src/files/defaultconfig/config.json @@ -5,7 +5,7 @@ "excule_from_exe": [], "only_from_exe": [], "showrangeafterrangeselect": true, - "ocrautobindhwnd": true, + "ocrautobindhwnd": false, "autodisappear": false, "WindowBackdrop": 3, "WindowEffect": 0, diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index 62222583..6c94512c 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -29,7 +29,7 @@ include(generate_product_version) set(VERSION_MAJOR 5) set(VERSION_MINOR 53) -set(VERSION_PATCH 1) +set(VERSION_PATCH 2) add_library(pch pch.cpp) target_precompile_headers(pch PUBLIC pch.h)