diff --git a/PcbToDxf/action_menu_pcb2dxf.py b/PcbToDxf/action_menu_pcb2dxf.py index e49b3af..6f3ff9e 100644 --- a/PcbToDxf/action_menu_pcb2dxf.py +++ b/PcbToDxf/action_menu_pcb2dxf.py @@ -230,6 +230,8 @@ class pcb2dxf( pcbnew.ActionPlugin ): self.name = "export technical layers of pcb to DXF (saved board)" self.category = "export PCB" self.description = "export technical layers of pcb to DXF (saved board)" + self.show_toolbar_button = True + self.icon_file_name = os.path.join(os.path.dirname(__file__), './dxf_icon.png') def Run( self ): fileName = GetBoard().GetFileName() diff --git a/PcbToDxf/dxf_icon.png b/PcbToDxf/dxf_icon.png new file mode 100644 index 0000000..dad5797 Binary files /dev/null and b/PcbToDxf/dxf_icon.png differ