domhnallmorr / Tk-Path-Finder

Windows File Explorer/Manager with Tabs. Written in Tkinter using ttkbootstrap.
MIT License
16 stars 5 forks source link

Search Window Crash if No Files Present #66

Closed domhnallmorr closed 1 year ago

domhnallmorr commented 1 year ago

File "C:\Users\ev662f\AppData\Local\Programs\Python\Python311\Lib\tkinter__init.py", line 1948, in call__ return self.func(*args) ^^^^^^^^^^^^^^^^ File "C:\Users\ev662f\Documents\tk_path_finder\v0.56.0\Tk-Path-Finder-0.56.0\src\custom_widgets\branch_tab.py", line 53, in b = ttk.Button(self, command=lambda branch_id=self.branch_id: self.view.controller.search(branch_id), image=self.view.search_icon2, style="primary.Outline.TButton") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ev662f\Documents\tk_path_finder\v0.56.0\Tk-Path-Finder-0.56.0\src\controller\controller.py", line 519, in search self.w = search_window.SearchWindow(self.mainapp.master, data, self.view, file_extensions) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ev662f\Documents\tk_path_finder\v0.56.0\Tk-Path-Finder-0.56.0\src\view\search_window.py", line 93, in init self.text_extension_combo.set(self.file_extensions[0])

domhnallmorr commented 1 year ago

Resolved V0.56.1