Spreadsheet: Fix unintended copies

This commit is contained in:
Chris Hennes
2023-02-26 09:14:41 -06:00
committed by Chris Hennes
parent c8a35d85fe
commit 42a910982d
2 changed files with 4 additions and 4 deletions

View File

@@ -709,7 +709,7 @@ void SheetTableView::pasteClipboard()
return;
if(!copy) {
for(auto range : ranges) {
for(auto &range : ranges) {
do {
sheet->clear(*range);
} while (range.next());