CTkListbox icon indicating copy to clipboard operation
CTkListbox copied to clipboard

Noticed a recursive call on listbox select

Open infiniteTesch opened this issue 11 months ago • 0 comments

I've added this code to overcome it:

def on_listbox_select(self, selected_option):
    self.counter += 1
    self.index = self.listbox.curselection()
    if self.counter % 2 == 0:
        print("Counter = ",self.counter)
        self.add_index_to_selection(self.index)
    else:
        return

infiniteTesch avatar Mar 01 '24 10:03 infiniteTesch