X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fwidgets%2Finfo_area.py;h=317dfc631cf34ce52ce8d4aa0b7bf3f12be43d5e;hb=800a800c45456f185c2e5445ed9caaa8a0ac5504;hp=2a4d06b69e2ca5082ccd2508f4f27bcb7461212d;hpb=87dd36b4c811e3afd2da840038c329241ff1bbbe;p=naja.git diff --git a/naja/widgets/info_area.py b/naja/widgets/info_area.py index 2a4d06b..317dfc6 100644 --- a/naja/widgets/info_area.py +++ b/naja/widgets/info_area.py @@ -84,8 +84,8 @@ class InfoAreaWidget(Widget): if ev.type == pgl.KEYDOWN: if ev.key in (pgl.K_RETURN, pgl.K_KP_ENTER): self.state.gameboard.change_mode() - # FIXME: also need to signal the correct action - # here + self.card.actions[self.chosen].perform_action( + self.state.gameboard, self.card) InvalidateTheWorld.post() return True if ev.key in (pgl.K_UP, pgl.K_w):