mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 05:10:53 +00:00
fix #4327: reorder format as well
This commit is contained in:
@@ -72,7 +72,7 @@ class ReorderCsvAttribute(bpy.types.Operator):
|
|||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
old = context.scene.CsvProperties.csv_attributes[self.old_index]
|
old = context.scene.CsvProperties.csv_attributes[self.old_index]
|
||||||
new = context.scene.CsvProperties.csv_attributes[self.new_index]
|
new = context.scene.CsvProperties.csv_attributes[self.new_index]
|
||||||
props = ["name", "header", "sort", "group", "varies_value", "summary"]
|
props = ["name", "header", "sort", "group", "varies_value", "summary", "formatting"]
|
||||||
for prop in props:
|
for prop in props:
|
||||||
value = getattr(new, prop)
|
value = getattr(new, prop)
|
||||||
setattr(new, prop, getattr(old, prop))
|
setattr(new, prop, getattr(old, prop))
|
||||||
|
|||||||
Reference in New Issue
Block a user