Skip to content

Commit

Permalink
fuoexec: allow fuorc to debug easily (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosven committed Jun 4, 2024
1 parent 7d69d9a commit d75e64b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion feeluown/fuoexec/signal_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def connect_slot(self, slot: Callable, **kwargs):
self._slot_list.append((slot, kwargs))

def connect_slot_symbol(self, slot_symbol: str, **kwargs):
self._slot_symbol_list.append((slot_symbol, kwargs))
if (slot_symbol, kwargs) not in self._slot_symbol_list:
self._slot_symbol_list.append((slot_symbol, kwargs))

def disconnect_slot_symbol(self, slot_symbol):
for i, (symbol, _) in enumerate(self._slot_symbol_list):
Expand Down

0 comments on commit d75e64b

Please sign in to comment.