From master branch
This allows it to be shared by both the PCB editor properties dialog and the fpeditor dialog.