Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions aliasManager_popup.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def aliasManager(self):
cell_to = column_to + str(i)
App.ActiveDocument.Spreadsheet.setAlias(cell_from, '')
App.ActiveDocument.recompute()
App.ActiveDocument.Spreadsheet.setAlias(cell_to, App.ActiveDocument.Spreadsheet.getContents(cell_reference))
App.ActiveDocument.Spreadsheet.setAlias(cell_to, App.ActiveDocument.Spreadsheet.getContents(cell_reference).replace("'",""))
App.ActiveDocument.recompute()
FreeCAD.Console.PrintMessage("\nAliases moved\n")

Expand Down Expand Up @@ -166,7 +166,7 @@ def char_range(c1, c2):
cell_to = str(fam_range[index]) + str(i)
App.ActiveDocument.Spreadsheet.setAlias(cell_from, '')
App.ActiveDocument.recompute()
App.ActiveDocument.Spreadsheet.setAlias(cell_to, App.ActiveDocument.Spreadsheet.getContents(cell_reference))
App.ActiveDocument.Spreadsheet.setAlias(cell_to, App.ActiveDocument.Spreadsheet.getContents(cell_reference).replace("'",""))
App.ActiveDocument.recompute()
sfx = str(fam_range[index]) + '1'

Expand Down Expand Up @@ -359,4 +359,4 @@ def disableWidget(currentIndex):
def popup(self):
self.dialog2 = infoPopup()
self.dialog2.exec_()
p()
p()