Remove any existing click action.
(self)
| 147 | hlink.rId = self.part.relate_to(slide.part, RT.SLIDE) |
| 148 | |
| 149 | def _clear_click_action(self): |
| 150 | """Remove any existing click action.""" |
| 151 | hlink = self._hlink |
| 152 | if hlink is None: |
| 153 | return |
| 154 | rId = hlink.rId |
| 155 | if rId: |
| 156 | self.part.drop_rel(rId) |
| 157 | self._element.remove(hlink) |
| 158 | |
| 159 | @property |
| 160 | def _hlink(self) -> CT_Hyperlink | None: |