Commit 39bed357 authored by Tomas Mecir's avatar Tomas Mecir
Browse files

fix a crash

parent 42858c40
Pipeline #189268 passed with stage
in 20 minutes and 3 seconds
......@@ -191,8 +191,8 @@ Sheet::Sheet(const Sheet &other)
}
#endif // CALLIGRA_SHEETS_WIP_COPY_SHEET_(SHAPES)
d->printSettings = other.d->printSettings;
d->sheetPrint = other.d->sheetPrint;
d->printSettings = new PrintSettings (*(other.d->printSettings));
d->sheetPrint = new SheetPrint(this);
d->showPageOutline = other.d->showPageOutline;
d->documentSize = other.d->documentSize;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment