Skip to content

Commit

Permalink
Fix propagation of unit to new building blocks (Issue #183) 🐛.
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Mar 9, 2022
1 parent 2b2413f commit 5e45ac8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Client/OfficeInterop/OfficeInterop.fs
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,9 @@ let addAnnotationBlock (newBB:InsertBuildingBlock) =
let formats = createValueMatrix 1 (rowCount-1) format
formatChangedMsg <- (InteropLogging.Msg.create InteropLogging.Info $"Added specified unit: {format}")::formatChangedMsg
columnBody.numberFormat <- formats
else
let format = createValueMatrix 1 (rowCount-1) "General"
columnBody.numberFormat <- format
// hide freshly created column if it is a reference column
if colName <> mainColName then
columnBody.columnHidden <- true
Expand Down

0 comments on commit 5e45ac8

Please sign in to comment.