Skip to content

Commit

Permalink
Fix: Don't display all macros as repeating
Browse files Browse the repository at this point in the history
  • Loading branch information
kozec committed Apr 30, 2016
1 parent 2c9dd8f commit 1a4f8ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scc/macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ def button_release(self, mapper):

def describe(self, context):
if self.name: return self.name
return "repeat" + "; ".join([ x.describe(context) for x in self.actions ])
if self.repeat:
return "repeat " + "; ".join([ x.describe(context) for x in self.actions ])
return "; ".join([ x.describe(context) for x in self.actions ])


def to_string(self, multiline=False, pad=0):
Expand Down

0 comments on commit 1a4f8ba

Please sign in to comment.