Skip to content

Commit

Permalink
[sidebar-] move default empty sidebar to BaseSheet
Browse files Browse the repository at this point in the history
  • Loading branch information
saulpw committed Jul 5, 2022
1 parent 833eed4 commit 4ab88d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions visidata/basesheet.py
Expand Up @@ -99,6 +99,7 @@ def __init__(self, *names, **kwargs):
self.mouseX = 0
self.mouseY = 0
self.hasBeenModified = False
self.sidebar = ''

super().__init__(**kwargs)

Expand Down
1 change: 0 additions & 1 deletion visidata/sheets.py
Expand Up @@ -201,7 +201,6 @@ def __init__(self, *names, **kwargs):
self.recalc() # set .sheet on columns and start caches

self.setKeys(self.columns[:self.nKeys]) # initial list of key columns
self.sidebar = ''

self.__dict__.update(kwargs) # also done earlier in BaseSheet.__init__

Expand Down

0 comments on commit 4ab88d5

Please sign in to comment.