Bug fix in ActionPresenter.

This commit is contained in:
Storm Dragon
2025-08-04 01:00:40 -04:00
parent 493350f049
commit a322c1d9b2

View File

@@ -152,11 +152,15 @@ class ActionPresenter:
"""Provides a list for performing accessible actions on an object."""
def __init__(self):
self._handlers = self.get_handlers(True)
self._bindings = keybindings.KeyBindings()
self._handlers = None
self._bindings = None
self._gui = None
self._obj = None
self._window = None
# Initialize handlers and bindings
self._handlers = self.get_handlers(True)
self._bindings = keybindings.KeyBindings()
def get_handlers(self, refresh: bool = False) -> dict:
"""Returns a dictionary of input event handlers."""