Skip to content

Commit

Permalink
Merge pull request #1944 from midichef/options_addrow
Browse files Browse the repository at this point in the history
[options-] disable adding rows
  • Loading branch information
anjakefala committed Jul 1, 2023
2 parents 7120da5 + 064e898 commit 694680f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions visidata/metasheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ def reload(self):
self.addRow(opt)
self.columns[2].name = 'global_value' if self.source == 'global' else 'sheet_value'

def newRow(self):
vd.fail('adding rows to the options sheet is not supported.')


vd._lastInputs = collections.defaultdict(dict) # [input_type] -> {'input': anything}

Expand Down

0 comments on commit 694680f

Please sign in to comment.