diff options
-rw-r--r-- | ui/manage_tunnels.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/manage_tunnels.go b/ui/manage_tunnels.go index 14c5afe9..b9b9cb90 100644 --- a/ui/manage_tunnels.go +++ b/ui/manage_tunnels.go @@ -97,8 +97,8 @@ func (mtw *ManageTunnelsWindow) setup() error { addMenuAction, _ := tunnelsToolBar.Actions().AddMenu(addMenu) addMenuAction.SetText("Add") - // TODO: Doesn't get added to the toolbar? deleteAction := walk.NewAction() + tunnelsToolBar.Actions().Add(deleteAction) deleteAction.SetText("Delete") deleteAction.Triggered().Attach(mtw.onDelete) |