Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
briar
Briar GTK
Commits
0b931e40
Commit
0b931e40
authored
Mar 07, 2021
by
Nico
Browse files
Support sending messages with numpad enter
Fixes
#92
parent
949eb312
Pipeline
#5957
passed with stage
in 3 minutes and 34 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
briar-gtk/briar_gtk/private_chat/private_chat_presenter.py
View file @
0b931e40
...
...
@@ -267,7 +267,7 @@ class PrivateChatPresenter:
def
_on_chat_input_activate
(
self
,
widget
,
event
):
# Return is pressed
if
Gdk
.
keyval_name
(
event
.
keyval
)
!=
'Return'
:
if
Gdk
.
keyval_name
(
event
.
keyval
)
not
in
(
'Return'
,
'KP_Enter'
)
:
return
False
# Shift is not pressed
if
(
event
.
state
&
Gdk
.
ModifierType
.
SHIFT_MASK
)
==
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment