aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-12 11:57:40 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-12 11:57:40 +0200
commitd34e0664e9de8f856b995a2b6f0f5bf65ad99965 (patch)
tree073c22726a7bae85c1355c254f4d03a485abaeed /ui
parentui: adjust message filter for raise (diff)
downloadwireguard-windows-d34e0664e9de8f856b995a2b6f0f5bf65ad99965.tar.xz
wireguard-windows-d34e0664e9de8f856b995a2b6f0f5bf65ad99965.zip
ui: don't tie ctrl+S to exporting
Roopesh doesn't like it. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/tunnelspage.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/tunnelspage.go b/ui/tunnelspage.go
index 32c89694..ab0254c0 100644
--- a/ui/tunnelspage.go
+++ b/ui/tunnelspage.go
@@ -169,7 +169,6 @@ func (tp *TunnelsPage) CreateToolbar() {
exportActionImage, _ := walk.NewBitmapFromIcon(exportActionIcon, imageSize)
exportAction.SetImage(exportActionImage)
exportAction.SetToolTip("Export all tunnels to zip...")
- exportAction.SetShortcut(walk.Shortcut{walk.ModControl, walk.KeyS})
exportAction.Triggered().Attach(tp.onExportTunnels)
tp.listToolbar.Actions().Add(exportAction)
@@ -195,7 +194,6 @@ func (tp *TunnelsPage) CreateToolbar() {
contextMenu.Actions().Add(addAction2)
exportAction2 := walk.NewAction()
exportAction2.SetText("Export all tunnels to zip...")
- exportAction2.SetShortcut(walk.Shortcut{walk.ModControl, walk.KeyS})
exportAction2.Triggered().Attach(tp.onExportTunnels)
contextMenu.Actions().Add(exportAction2)
contextMenu.Actions().Add(walk.NewSeparatorAction())