mirror of
https://github.com/aclist/dztui.git
synced 2026-08-25 17:32:36 +02:00
fix: do not start queue checker on phantom right click signals
This commit is contained in:
parent
ea785960d8
commit
0eb47a0427
@ -295,6 +295,11 @@ class ServerTreeView(ContextMixin, TreeView): # type: ignore
|
||||
) -> None:
|
||||
if self.loaded is False:
|
||||
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:
|
||||
return
|
||||
self.start_distcalc()
|
||||
|
||||
def get_name(self) -> str:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user