Skip to content

Commit

Permalink
Merge remote-tracking branch #399 (VENOM-389) into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
naxuroqa committed Sep 17, 2018
2 parents f275788 + 0aa39b9 commit 71d0eae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/view/ConversationWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ namespace Venom {
public signal void send();

public bool on_key_press_event(Gdk.EventKey event) {
if (event.keyval == key.accel_key && event.state == key.accel_mods) {
uint modifiers = event.state & (Gdk.ModifierType.SHIFT_MASK | Gdk.ModifierType.CONTROL_MASK);
if (event.keyval == key.accel_key && modifiers == key.accel_mods) {
send();
return true;
}
Expand Down

0 comments on commit 71d0eae

Please sign in to comment.