From 523ff2c32d732e0934e79a2a058a9f68054309fc Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:57:33 +0900 Subject: [PATCH] fix: signal control flow --- CHANGELOG.md | 6 +++++- dzgui.sh | 2 +- helpers/ui.py | 5 +++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b61325..0ca8908 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog -## [5.4.1-beta.5] 2024-09-10 +## [5.4.1-beta.2] 2024-09-10 +### Fixed +- Checkbox toggle signal handling control flow + +## [5.4.1-beta.1] 2024-09-10 ### Added - Pre-boot validation check for users with self-compiled version of jq ### Fixed diff --git a/dzgui.sh b/dzgui.sh index 0a1d3e2..e8ae0de 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -566,7 +566,7 @@ fetch_helpers_by_sum(){ [[ -f "$config_file" ]] && source "$config_file" declare -A sums sums=( - ["ui.py"]="9a5df05a4b67af3be06e39d9d7cebff3" + ["ui.py"]="9cac4d3b87ef292e7d30b25ca86cc438" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["funcs"]="b73289e0aa71a91da539c28707a6405c" diff --git a/helpers/ui.py b/helpers/ui.py index 37b56d6..5e77f68 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -1200,14 +1200,15 @@ class TreeView(Gtk.TreeView): if cooldown.returncode == 1: spawn_dialog(self.get_outer_window(), cooldown.stdout, "NOTIFY") return 1 + for check in checks: + toggle_signal(filters_vbox, check, '_on_check_toggle', False) reinit_checks() else: for check in checks: + toggle_signal(filters_vbox, check, '_on_check_toggle', False) if check.get_label() not in toggled_checks: toggled_checks.append(check.get_label()) check.set_active(True) - for check in checks: - toggle_signal(filters_vbox, check, '_on_check_toggle', False) self._update_multi_column(chosen_row) map_store.clear()