cogentcore / core

A free and open source framework for building powerful, fast, and elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the Web with a single pure Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.33k stars 71 forks source link

OnlyCloseActiveTab no longer working #788

Closed rcoreilly closed 6 months ago

rcoreilly commented 6 months ago

seems like it might be selecting the tab prior to this condition taking effect?

gi/tabs.go:721:
                // if OnlyCloseActiveTab is on, only process delete when already selected
                if !SystemSettings.Behavior.OnlyCloseActiveTab || tb.StateIs(states.Selected) {