this should be fixed, because if a file is opened we gone have a card name, thus we should display it. ATM the combo box is only initialized once on init of the editor https://github.com/berndhahnebach/FreeC ... tor.py#L80 this should be done after reading again. But for this the updateCards needs changes. Might be best to leave this for 0.18 ?!
OK, this is now issue #3851.
I see this different because at first I explicitly selected the card for concrete. Then I open the material editor that shows me the contents of the card of concrete.bernd wrote: ↑Wed Feb 20, 2019 6:36 amsee comments I added to the source code https://github.com/FreeCAD/FreeCAD/pull ... d4109e936f
From user point you are right, but from developer point of view the material editor is called with edit from material task panel. See https://github.com/FreeCAD/FreeCAD/blob ... al.py#L249 and in https://github.com/FreeCAD/FreeCAD/blob ... or.py#L646 (link to PR because of the comments) With this method the material editor does not know the card where the material data was taken from. Thus the material editor can not display a card name. see https://github.com/FreeCAD/FreeCAD/blob ... or.py#L650uwestoehr wrote: ↑Wed Feb 20, 2019 11:29 amI see this different because at first I explicitly selected the card for concrete. Then I open the material editor that shows me the contents of the card of concrete.
So what is the difference to loading a card in the material editor dialog? In both cases I explicitly loaded a specific material card that is displayed in the dialog.