mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 14:42:54 +01:00
fix: disable context menu on custom mod tree
This commit is contained in:
1 parent
f7a42e2cdb
commit
85f6fa053d
3 files changed
+7
-3
No files matched your search
@@ -23,8 +23,10 @@ logger = logging.getLogger(APP_NAME)
|
||||
|
||||
|
||||
class ModTreeView(ModsMixin, ContextMixin, TreeView): # type: ignore
|
||||
def __init__(self, controller: "Controller") -> None:
|
||||
super().__init__(controller, menu=ContextMenuGroup.MOD)
|
||||
def __init__(
|
||||
self, controller: "Controller", menu: ContextMenuGroup = ContextMenuGroup.MOD
|
||||
) -> None:
|
||||
super().__init__(controller, menu=menu)
|
||||
|
||||
self.controller = controller
|
||||
self.mod_man = ModManager(self, controller)
|
||||
|
||||
Reference in new issue
Block a user