diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 0e6cc95c..447baea7 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -648,7 +648,8 @@ class AppWindow(object): self.w.bind('', self.onleave) # Special handling for transparency self.w.bind('', self.getandsend) self.w.bind('', self.getandsend) - self.w.bind_all('<>', self.getandsend) # Hotkey monitoring + self.w.bind_all('<>', self.getandsend) # Ask for CAPI queries to be performed + self.w.bind_all('<>', self.capi_handle_response) self.w.bind_all('<>', self.journal_event) # Journal monitoring self.w.bind_all('<>', self.dashboard_event) # Dashboard monitoring self.w.bind_all('<>', self.plugin_error) # Statusbar @@ -1089,6 +1090,10 @@ class AppWindow(object): self.suit_show_if_set() self.cooldown() + def capi_handle_response(self, event=None): + """Handle the resulting data from a CAPI query.""" + ... + def journal_event(self, event): # noqa: C901, CCR001 # Currently not easily broken up. """ Handle a Journal event passed through event queue from monitor.py.