1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-28 21:32:36 +01:00

fix: signal control flow

This commit is contained in:
aclist 2024-09-10 14:57:33 +09:00
parent 06359a40ae
commit 523ff2c32d
3 changed files with 9 additions and 4 deletions

View file

@ -1,6 +1,10 @@
# Changelog # 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 ### Added
- Pre-boot validation check for users with self-compiled version of jq - Pre-boot validation check for users with self-compiled version of jq
### Fixed ### Fixed

View file

@ -566,7 +566,7 @@ fetch_helpers_by_sum(){
[[ -f "$config_file" ]] && source "$config_file" [[ -f "$config_file" ]] && source "$config_file"
declare -A sums declare -A sums
sums=( sums=(
["ui.py"]="9a5df05a4b67af3be06e39d9d7cebff3" ["ui.py"]="9cac4d3b87ef292e7d30b25ca86cc438"
["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
["funcs"]="b73289e0aa71a91da539c28707a6405c" ["funcs"]="b73289e0aa71a91da539c28707a6405c"

View file

@ -1200,14 +1200,15 @@ class TreeView(Gtk.TreeView):
if cooldown.returncode == 1: if cooldown.returncode == 1:
spawn_dialog(self.get_outer_window(), cooldown.stdout, "NOTIFY") spawn_dialog(self.get_outer_window(), cooldown.stdout, "NOTIFY")
return 1 return 1
for check in checks:
toggle_signal(filters_vbox, check, '_on_check_toggle', False)
reinit_checks() reinit_checks()
else: else:
for check in checks: for check in checks:
toggle_signal(filters_vbox, check, '_on_check_toggle', False)
if check.get_label() not in toggled_checks: if check.get_label() not in toggled_checks:
toggled_checks.append(check.get_label()) toggled_checks.append(check.get_label())
check.set_active(True) check.set_active(True)
for check in checks:
toggle_signal(filters_vbox, check, '_on_check_toggle', False)
self._update_multi_column(chosen_row) self._update_multi_column(chosen_row)
map_store.clear() map_store.clear()