if hasattr(self, 'shortcut_action_for_context_menu'): self.shortcut_action_for_context_menu.setIcon(icon)