You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I believe that is_empty is the intended method to know if there are any tabs present. However, it has two different behaviors that make it unsuitable for this purpose: it returns false after initialization with an empty tab set, but it returns true after adding tabs and closing them all.
To Reproduce
Steps to reproduce the behavior:
Initialize DockState with no tabs, it returns false because there is a single, Empty node:
Describe the bug
I believe that
is_empty
is the intended method to know if there are any tabs present. However, it has two different behaviors that make it unsuitable for this purpose: it returnsfalse
after initialization with an empty tab set, but it returns true after adding tabs and closing them all.To Reproduce
Steps to reproduce the behavior:
false
because there is a single, Empty node:is_empty
will returntrue
because there are now no nodes in the Tree.Expected behavior
is_empty
returns true when there are no viewable tabs in the UI (or some other method fulfills this need.)The text was updated successfully, but these errors were encountered: