1. Arne Babenhauserheide
  2. pyrad

Commits

Arne Babenhauserheide  committed 94bcc5d

Nicer tooltips for groups: a comma seperated list of program names.

  • Participants
  • Parent commits b8fca8c
  • Branches default

Comments (0)

Files changed (1)

File rad.py

View file
             # because it needs the position in the circle.
             if SELECTION_KEYS_ORDERED[len(circle):]: 
                 key = SELECTION_KEYS_ORDERED[len(circle)]
-                toolTip =  key + " - " + str(action)
+                if action is not None and action.startswith("["):
+                    toolTip =  key + " - " + ", ".join([act for ico,act in eval(action) if act])
+                else: 
+                    toolTip =  key + " - " + str(action)
             else:
                 toolTip = str(action)
             label.setToolTip(toolTip)