1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-07-17 13:08:48 +02: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
helpers

View file

@ -2435,6 +2435,15 @@ class ModSelectionPanel(Gtk.Box):
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):
if bool is True:
button = Gtk.Button(label="Select stale")