FreeCAD: master 0aa759b5

Author Committer Branch Timestamp Parent
Cheuksan Wang wmayer master 2020-09-13 00:38:03 master 1a7fd88b
Affected Issues  0004429: Spreadsheet: Bug when inserting a row into spreadsheet
Changeset Move the aliases before other content of cells

When a user performs insert rows, remove rows, insert columns, or
remove rows, we need to move multiple cells as a batch. The cells are
moved sequentially. For each cell, its dependent alias positions are
looked up and dependencies are added. However, those cells with
aliases may be moved later in the batch. Thus the earlier dependencies
become wrong. This commit fixes this bug by moving all the aliases
before moving the cells. Unit tests are added to for this bug.

fixes issue 0004429
mod - src/Mod/Spreadsheet/App/PropertySheet.cpp Diff File
mod - src/Mod/Spreadsheet/App/PropertySheet.h Diff File
mod - src/Mod/Spreadsheet/ Diff File