kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #09193
Canvas refresh after track and via change
Hi
One little change witch I made after that via size modification, when
changing track and via sizes, is refreshing canvas after change. It
cleans old size drawings and now it is possible to see changed track
width instantly. I don't know deeply enough how kicad works, but I
have tested it whole day and it seems to work well.
Heikki Pulkkinen
=== modified file 'pcbnew/event_handlers_tracks_vias_sizes.cpp'
--- pcbnew/event_handlers_tracks_vias_sizes.cpp 2012-02-02 17:45:37 +0000
+++ pcbnew/event_handlers_tracks_vias_sizes.cpp 2012-11-30 16:46:56 +0000
@@ -91,4 +91,6 @@
wxMessageBox( wxT( "PCB_EDIT_FRAME::Tracks_and_Vias_Size_Event() error") );
break;
}
+ //Refresh canvas, that we can see changes instantly.
+ m_canvas->Refresh();
}