mirror of
https://github.com/pbnjay/grate.git
synced 2024-12-12 13:35:18 +02:00
allocate at least one cell on an empty sheet
This commit is contained in:
parent
aa7cdf285d
commit
dbc4d374ba
@ -155,11 +155,9 @@ func (s *WorkSheet) parse() error {
|
||||
s.maxCol = int(uint64(maxCol)&0x001FF) - 1 // translate to last valid index
|
||||
if (maxRow-minRow) == 0 || (maxCol-minCol) == 0 {
|
||||
s.empty = true
|
||||
} else {
|
||||
// pre-allocate cells
|
||||
s.makeCells()
|
||||
//s.placeValue(s.maxRow, s.maxCol, nil)
|
||||
}
|
||||
// pre-allocate cells
|
||||
s.makeCells()
|
||||
}
|
||||
}
|
||||
inSubstream = 0
|
||||
|
Loading…
Reference in New Issue
Block a user