Skip to content

Commit 5334541

Browse files
committed
Fix click on root button in path bar
1 parent 6fed7c4 commit 5334541

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tkfilebrowser/filebrowser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ def _update_path_bar(self, path):
994994
else:
995995
p = "/"
996996
b = PathButton(self.path_bar, self.path_var, p, image=self.im_drive,
997-
command=lambda path=p: self.display_folder(p, update_bar=False))
997+
command=lambda path=p: self.display_folder(path, update_bar=False))
998998
self.path_bar_buttons.append(b)
999999
b.grid(row=0, column=1, sticky="ns")
10001000
for i, folder in enumerate(folders):

0 commit comments

Comments
 (0)