From f0492d803c28c9644599d51405222dd784230618 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 3 May 2019 12:24:05 +0200 Subject: ui: add toolbar after adding it to the tabs Signed-off-by: Jason A. Donenfeld --- ui/tray.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/tray.go') diff --git a/ui/tray.go b/ui/tray.go index c440d8ad..44d63d2b 100644 --- a/ui/tray.go +++ b/ui/tray.go @@ -144,7 +144,7 @@ func (tray *Tray) addTunnelAction(tunnel *service.Tunnel) { if err != nil { tray.mtw.Synchronize(func() { tray.mtw.Show() - tray.mtw.tunnelsPage.tunnelsView.selectTunnel(tclosure.Name) + tray.mtw.tunnelsPage.listView.selectTunnel(tclosure.Name) tray.mtw.tabs.SetCurrentIndex(0) if oldState == service.TunnelUnknown { walk.MsgBox(tray.mtw, "Failed to determine tunnel state", err.Error(), walk.MsgBoxIconError) @@ -303,7 +303,7 @@ func (tray *Tray) UpdateFound() { func (tray *Tray) onManageTunnels() { if !tray.mtw.Visible() { - tray.mtw.tunnelsPage.tunnelsView.SelectFirstActiveTunnel() + tray.mtw.tunnelsPage.listView.SelectFirstActiveTunnel() tray.mtw.tabs.SetCurrentIndex(0) } tray.mtw.Show() -- cgit v1.2.3-59-g8ed1b