summaryrefslogtreecommitdiff
path: root/cell.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-04-13 10:45:01 +0800
committerGitHub <noreply@github.com>2019-04-13 10:45:01 +0800
commit031ae303fd37b43f687c57edbf58cad7f354f8c7 (patch)
tree3248af22f51e20a46cd99f484c7f06e318b2dca2 /cell.go
parent8fff533b40111085f936075d7da12490be4a46a2 (diff)
parent841ff4a03e2b30378f6bb2930752c8e9dcfe0dca (diff)
Merge pull request #381 from aplulu/fix_calcchain
Fix two bugs related to Formula
Diffstat (limited to 'cell.go')
-rw-r--r--cell.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cell.go b/cell.go
index a1b6dbf..36f2d93 100644
--- a/cell.go
+++ b/cell.go
@@ -235,7 +235,7 @@ func (f *File) SetCellFormula(sheet, axis, formula string) error {
}
if formula == "" {
cellData.F = nil
- f.deleteCalcChain(axis)
+ f.deleteCalcChain(f.GetSheetIndex(sheet), axis)
return err
}