mirror of
https://github.com/aclist/dztui.git
synced 2026-08-25 17:32:36 +02:00
chore: clear typehinting errors
This commit is contained in:
parent
bfb0ffc9ad
commit
b209c9912d
@ -297,8 +297,9 @@ class ServerTreeView(ContextMixin, TreeView): # type: ignore
|
||||
return
|
||||
# NOTE: signal triggers twice on right-click events
|
||||
# due to deselect-then-select behavior in GTK
|
||||
model, sel = self.get_selection().get_selected_rows()
|
||||
if len(sel) == 0:
|
||||
sel = self.get_selection()
|
||||
model, row = sel.get_selected()
|
||||
if row is None:
|
||||
return
|
||||
self.start_distcalc()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user