Skip to content

Commit

Permalink
Merge branch 'main' into macro_reset
Browse files Browse the repository at this point in the history
# Conflicts:
#	inputremapper/gui/controller.py
  • Loading branch information
sezanzeb committed Dec 28, 2024
2 parents 511e61d + b4852f1 commit fe217a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inputremapper/gui/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ def show_injector_result(self, msg: InjectorStateMessage) -> None:
state = msg.state

def running() -> None:
assert self.data_manager.active_preset is not None
msg = _('Applied preset "%s"') % self.data_manager.active_preset.name
if self.data_manager.active_preset.dangerously_mapped_btn_left():
msg += _(", CTRL + DEL to stop")
Expand All @@ -692,6 +693,7 @@ def running() -> None:
)

def no_grab() -> None:
assert self.data_manager.active_preset is not None
msg = (
_('Failed to apply preset "%s"') % self.data_manager.active_preset.name
)
Expand Down

0 comments on commit fe217a4

Please sign in to comment.