mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 23:22:44 +01:00
feat: toggle panels on signal
This commit is contained in:
1 parent
56b32a0048
commit
045f242e09
6 files changed
+49
-34
No files matched your search
@@ -22,7 +22,9 @@ class ContextMixin(TreeView):
|
||||
if self.is_selection_empty():
|
||||
return
|
||||
|
||||
if event.type is Gdk.EventType.BUTTON_PRESS and event.button == 3:
|
||||
if event.type is Gdk.EventType.BUTTON_PRESS:
|
||||
if event.button != 3:
|
||||
return
|
||||
try:
|
||||
pathinfo = self.get_path_at_pos(int(event.x), int(event.y))
|
||||
if pathinfo is None:
|
||||
|
||||
Reference in new issue
Block a user