From 49a438bbb80260b8ea4aae03b5957f4d12b4c7bc Mon Sep 17 00:00:00 2001 From: mappu Date: Mon, 6 Jan 2025 18:35:21 +1300 Subject: [PATCH] ui: delete dead code --- main.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main.go b/main.go index 6839f25..73d3576 100644 --- a/main.go +++ b/main.go @@ -337,12 +337,6 @@ func (self *DockerGUI) update_toolbar_buttons(index int) { self.remove_volume_action.SetVisible(index == 3) } -func (self *DockerGUI) update_visible_tabs(index int) { - for i := 0; i < self.tab_widget.Count(); i++ { - self.tab_widget.TabBar().SetTabVisible(i, (i == index)) - } -} - func (self *DockerGUI) create_menu_bar() { menubar := self.MenuBar()