From 0fd89e5efca4d8363f6545f9c071cff6b54692e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Sun, 3 Nov 2024 17:06:08 +0800 Subject: [PATCH] fix --- .github/workflows/release.yml | 4 ++++ src/LunaTranslator/gui/dialog_savedgame_setting.py | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7151e64..1364d070 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,6 +66,10 @@ jobs: with: path: build - run: python src/build.py merge ${{ matrix.architecture }} + - uses: actions/upload-artifact@v4 + with: + name: ${{ matrix.fname }} + path: src/build/${{matrix.fname}}.zip - uses: softprops/action-gh-release@v2 with: tag_name: ${{ needs.loadversion.outputs.version }} diff --git a/src/LunaTranslator/gui/dialog_savedgame_setting.py b/src/LunaTranslator/gui/dialog_savedgame_setting.py index 23f01c8d..81ad013c 100644 --- a/src/LunaTranslator/gui/dialog_savedgame_setting.py +++ b/src/LunaTranslator/gui/dialog_savedgame_setting.py @@ -337,11 +337,10 @@ class dialog_setting_game_internal(QWidget): if x: if combo.currentIndex() == 0: combo.setCurrentIndex(idx + 1) - combo.setRowVisible(idx + 1, True) else: if combo.currentIndex() == idx + 1: combo.setCurrentIndex(0) - combo.setRowVisible(idx + 1, False) + combo.setRowVisible(idx + 1, x) for i, key in enumerate(targetmod): try: