Un-bind the shortcut key currently focused in the key binding viewer.
(self)
| 723 | |
| 724 | @command.command("console.key.unbind.focus") |
| 725 | def key_unbind_focus(self) -> None: |
| 726 | """ |
| 727 | Un-bind the shortcut key currently focused in the key binding viewer. |
| 728 | """ |
| 729 | b = self._keyfocus() |
| 730 | try: |
| 731 | self.master.keymap.remove(b.key, b.contexts) |
| 732 | except ValueError as v: |
| 733 | raise exceptions.CommandError(v) |
| 734 | |
| 735 | @command.command("console.key.execute.focus") |
| 736 | def key_execute_focus(self) -> None: |