Skip to content

Commit

Permalink
delete one more type ignore comment (after rebase)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Feb 16, 2021
1 parent 1e1eee2 commit bf2e155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion porcupine/plugins/tab_closing.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def show_menu(event: tkinter.Event[tabs.TabManager]) -> None:
menu.add_command(label="Close other tabs", command=partial(close_clicked_tab, event, what2close='others'))

menu.tk_popup(event.x_root, event.y_root)
menu.bind('<Unmap>', (lambda event: menu.after_idle(menu.destroy)), add=True) # type: ignore
menu.bind('<Unmap>', (lambda event: menu.after_idle(menu.destroy)), add=True)


# Close tab on middle-click (press down the wheel of the mouse)
Expand Down

0 comments on commit bf2e155

Please sign in to comment.