FEM: Add message about reverting material after user clicked Cancel button

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
Przemo Firszt
2015-04-12 20:38:33 +01:00
committed by wmayer
parent dfb7212ec2
commit 8185ec159b

View File

@@ -180,6 +180,7 @@ class _MechanicalMaterialTaskPanel:
def reject(self):
self.obj.Material = self.previous_material
print "Reverting to material:"
self.print_mat_data(self.previous_material)
FreeCADGui.ActiveDocument.resetEdit()