Skip to content

Commit

Permalink
Fix #871
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunn1 committed Apr 6, 2017
1 parent 237593b commit 06f6960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/gx/tilix/application.d
Original file line number Diff line number Diff line change
Expand Up @@ -755,14 +755,14 @@ public:
}

/**
* Add additional accelerators to force paste actions to always gobject
* Add additional accelerators to force paste actions to always go
* through Tilix, see #666 fore more information.
*/
override void setAccelsForAction(string detailedActionName, string[] accels) {
import gx.tilix.terminal.actions;

if (detailedActionName == getActionDetailedName(gx.tilix.terminal.actions.ACTION_PREFIX, gx.tilix.terminal.actions.ACTION_PASTE)) {
accels ~= ["<Ctrl><Shift>V","<Shift><Ctrl>Insert"];
accels ~= ["<Shift><Ctrl>Insert"];
} else if (detailedActionName == getActionDetailedName(gx.tilix.terminal.actions.ACTION_PREFIX, gx.tilix.terminal.actions.ACTION_PASTE_PRIMARY)) {
accels ~= ["<Shift>Insert"];
}
Expand Down

0 comments on commit 06f6960

Please sign in to comment.