Skip to content

Commit

Permalink
Removed vestigial button
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDunfield committed Jan 12, 2025
1 parent b9617f8 commit 0c694c0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions python/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,9 +906,6 @@ def __init__(self, parent, manifold):
text='cyclic covers only',
)
cyclic_or_not.grid(row=0, column=2, padx=6, sticky=Tk_.W)
self.action = action = ttk.Button(degree_frame, text='Recompute',
command=self.show_covers)
action.grid(row=0, column=3, padx=8, sticky=Tk_.W)
degree_frame.grid(row=1, column=0, pady=2, padx=6, sticky=Tk_.EW)
self.covers = covers = ttk.Treeview(
top_frame,
Expand Down Expand Up @@ -951,13 +948,11 @@ def __init__(self, parent, manifold):
def clear_list(self, *args):
self.covers.delete(*self.covers.get_children())
self.browse.config(default='normal')
self.action.config(default='active')
self.state = 'not ready'

def show_covers(self, *args):
self.state = 'ready'
self.browse.config(default='active')
self.action.config(default='normal')
self.covers.delete(*self.covers.get_children())
degree = int(self.degree_var.get())
if self.cyclic_var.get():
Expand Down

0 comments on commit 0c694c0

Please sign in to comment.