summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-06-04 16:54:15 -0500
committerJesse Luehrs <doy@tozt.net>2013-06-04 16:54:15 -0500
commit2a15eb9998fc97644e40d25cf82d3fc8a9312390 (patch)
treef49280f737802e4e2f6aeb7ca3a2776186923d39
parent84b2219f9eb2fc451b98153375749821dad6ee4d (diff)
downloadspreadsheet-template-2a15eb9998fc97644e40d25cf82d3fc8a9312390.tar.gz
spreadsheet-template-2a15eb9998fc97644e40d25cf82d3fc8a9312390.zip
this should be 'selection', not 'selected'
-rw-r--r--lib/Spreadsheet/Template/Writer/Excel.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Spreadsheet/Template/Writer/Excel.pm b/lib/Spreadsheet/Template/Writer/Excel.pm
index a4809e4..58cc0c1 100644
--- a/lib/Spreadsheet/Template/Writer/Excel.pm
+++ b/lib/Spreadsheet/Template/Writer/Excel.pm
@@ -121,8 +121,8 @@ sub _write_worksheet {
$sheet->hide;
}
- if (exists $data->{selected}) {
- $sheet->set_selection(@{ $data->{selected} });
+ if (exists $data->{selection}) {
+ $sheet->set_selection(@{ $data->{selection} });
}
if (exists $data->{freeze}) {