Skip to content

Commit 61ce411

Browse files
authored
Update main.py
1 parent 59d14af commit 61ce411

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

main.py

-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def __init__(self):
2020
self.save_button = Button(self.top_frame, text="Save", command=self.save_image)
2121
self.save_button.pack(side="left")
2222

23-
# Add a close button to the top frame
2423
self.close_button = Button(self.top_frame, text="Close", command=self.close_current_tab)
2524
self.close_button.pack(side="left")
2625

@@ -31,7 +30,6 @@ def __init__(self):
3130
self.root.bind("<Left>", self.switch_tab_left)
3231
self.root.bind("<Control-s>", self.save_image)
3332

34-
# Enable drag and drop
3533
self.root.drop_target_register(DND_FILES)
3634
self.root.dnd_bind('<<Drop>>', self.on_drop)
3735

0 commit comments

Comments
 (0)