1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-29 13:52:03 +01:00

fix: add missing function definition

This commit is contained in:
aclist 2024-12-07 14:02:50 +09:00
parent 3adac2a211
commit 8dc9ad3313
3 changed files with 15 additions and 2 deletions

View file

@ -1,5 +1,9 @@
# Changelog # Changelog
## [5.6.0-beta.11] 2024-12-07
### Fixed
- Add missing function definition
## [5.6.0-beta.10] 2024-12-04 ## [5.6.0-beta.10] 2024-12-04
### Fixed ### Fixed
- Untoggle highlight button when repopulating mod list - Untoggle highlight button when repopulating mod list

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version=5.6.0-beta.10 version=5.6.0-beta.11
#CONSTANTS #CONSTANTS
aid=221100 aid=221100
@ -569,7 +569,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"]="3b90cd522e52131e7ae396671e1c1ad2" ["ui.py"]="be3da1e542d14105f4358dd38901e25a"
["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
["funcs"]="62f6b3fb2dcb56a78b7642c0f0aa7abe" ["funcs"]="62f6b3fb2dcb56a78b7642c0f0aa7abe"

View file

@ -2435,6 +2435,15 @@ class ModSelectionPanel(Gtk.Box):
treeview.get_selection().select_path(path) treeview.get_selection().select_path(path)
def _remove_last_button(self):
children = self.get_children()
l = len(children)
tip = children[l-1]
label = tip.get_label()
if label == "Select stale":
tip.destroy()
def toggle_select_stale_button(self, bool): def toggle_select_stale_button(self, bool):
if bool is True: if bool is True:
button = Gtk.Button(label="Select stale") button = Gtk.Button(label="Select stale")