mirror of
https://github.com/aclist/dztui.git
synced 2026-10-26 04:32:39 +01:00
fix: do not start queue checker on phantom right click signals
This commit is contained in:
1 parent
ea785960d8
commit
0eb47a0427
1 file changed
+5
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user