diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 15:19:39 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 15:19:39 -0600 |
| commit | 5bae8b7e41fc17a5020f4c8e58695ae59063cda4 (patch) | |
| tree | 1a944d25fb72a8b9c63ad438a4535ee69c08b98a /treeWidget.go | |
| parent | 93e87a05c7220f1a8dd7ac2e8dc43b123f6e0f71 (diff) | |
fixed window title string length
Diffstat (limited to 'treeWidget.go')
| -rw-r--r-- | treeWidget.go | 15 |
1 files changed, 0 insertions, 15 deletions
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() } |
