Repopulate route style selector on PCBChanged action
commitc62863b2b6e8da2c60c9a7d0d5464582563f7b58
authorAndrew Poelstra (local) <apoelstra@wpsoftware.net>
Sun, 11 Sep 2011 06:41:57 +0000 (10 23:41 -0700)
committerAndrew Poelstra (local) <apoelstra@wpsoftware.net>
Sun, 11 Sep 2011 06:41:57 +0000 (10 23:41 -0700)
tree40e1c6ec68c5dc61706227f3e05ebb0743b6a510
parent8876712e765a81629d8437664565fedd0945ecb8
Repopulate route style selector on PCBChanged action

When loading a new pcb, Bad Things happen to the route style
selector because pcb's route style data is freed. This patch
removes all styles from the route style selector and re-adds
them whenever a new pcb is loaded.
src/hid/gtk/gtkhid-main.c
src/hid/gtk/gui-top-window.c
src/hid/gtk/gui.h