Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
277e13bd
by Philipp Hörist at 2017-01-05T01:14:18+01:00
1 changed file:
Changes:
| ... | ... | @@ -75,6 +75,9 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools): |
| 75 | 75 |
keycode_ins = keymap.get_entries_for_keyval(Gdk.KEY_Insert)[1][0].keycode
|
| 76 | 76 |
except TypeError:
|
| 77 | 77 |
keycode_ins = 118
|
| 78 |
+ except IndexError:
|
|
| 79 |
+ # There is no KEY_Insert (MacOS)
|
|
| 80 |
+ keycode_ins = None
|
|
| 78 | 81 |
|
| 79 | 82 |
def make_href(self, match):
|
| 80 | 83 |
url_color = gajim.config.get('urlmsgcolor')
|