pygui: fixed exception from bad check when double clicking in sessions dialog
This commit is contained in:
parent
e7a93e7fd6
commit
04f7bc561b
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ class SessionsDialog(Dialog):
|
|||
|
||||
def double_click_join(self, _event: tk.Event) -> None:
|
||||
item = self.tree.selection()
|
||||
if item is None:
|
||||
if not item:
|
||||
return
|
||||
session_id = int(self.tree.item(item, "text"))
|
||||
self.join_session(session_id)
|
||||
|
|
Loading…
Reference in a new issue