From 5bae8b7e41fc17a5020f4c8e58695ae59063cda4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Feb 2025 15:19:39 -0600 Subject: fixed window title string length --- treeWidget.go | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'treeWidget.go') diff --git a/treeWidget.go b/treeWidget.go index 784aac4..bd9c947 100644 --- a/treeWidget.go +++ b/treeWidget.go @@ -73,21 +73,6 @@ func (w *guiWidget) deleteView() { w.v = nil } -func (w *guiWidget) IsCurrent() bool { - if w.node.WidgetType == widget.Tab { - return w.isCurrent - } - if w.node.WidgetType == widget.Window { - // log.Log(GOCUI, "IsCurrent() found current window", w.cuiName, w.String()) - // log.Log(GOCUI, "IsCurrent() window w.isCurrent =", w.isCurrent) - return w.isCurrent - } - if w.node.WidgetType == widget.Root { - return false - } - return w.parent.IsCurrent() -} - func (tk *guiWidget) String() string { return tk.node.String() } -- cgit v1.2.3