From 138a6ff7c8d45350dc2d8cbc0c92a88b2566a659 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Mon, 5 Aug 2024 06:08:05 +0900 Subject: [PATCH] fix: process lan option contextually --- dzgui.sh | 4 ++-- helpers/ui.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dzgui.sh b/dzgui.sh index 090724e..2d54d84 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=5.3.3-beta.3 +version=5.3.3-beta.4 #CONSTANTS aid=221100 @@ -535,7 +535,7 @@ fetch_helpers_by_sum(){ [[ -f "$config_file" ]] && source "$config_file" declare -A sums sums=( - ["ui.py"]="9755d63904fb63dc48eff3397a31de17" + ["ui.py"]="c62e84ddd1457b71a85ad21da662b9af" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["funcs"]="2ebe0f7072f7a9459007b1d9d09e2f4f" diff --git a/helpers/ui.py b/helpers/ui.py index 4612b40..d988fd0 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -1186,7 +1186,7 @@ class TreeView(Gtk.TreeView): right_panel = outer.grid.right_panel filters_vbox = right_panel.filters_vbox - valid_contexts = ["Server browser", "My saved servers", "Recent servers"] + valid_contexts = ["Server browser", "My saved servers", "Recent servers", "Scan LAN servers"] if chosen_row in valid_contexts: # server contexts share the same model type for check in checks: