Comment 11 for bug 1766597

Revision history for this message
Seth Hillbrand (sethh) wrote :

Your revised patch works better.

For the toolbar, you can look at PCB_EDIT_FRAME::ReCreateOptToolbar() in tool_pcb_editor.cpp. You'll want to create an icon that can be set/unset when clicked. Also, don't forget that system options should be stored in the preferences (pcbnew_config.cpp)