Commit fe37c549 authored by jean-pierre charras's avatar jean-pierre charras

Footprint Editor: minor cosmetic enhancement (which could avoid a report like bug #1302255)

parent 6beacd6e
...@@ -176,6 +176,7 @@ set( BMAPS_MID ...@@ -176,6 +176,7 @@ set( BMAPS_MID
copyblock copyblock
copycomponent copycomponent
copy_button copy_button
copy_library
copper_layers_setup copper_layers_setup
cursor_shape cursor_shape
cursor cursor
......
This diff is collapsed.
This diff is collapsed.
...@@ -103,6 +103,7 @@ EXTERN_BITMAP( copper_layers_setup_xpm ) ...@@ -103,6 +103,7 @@ EXTERN_BITMAP( copper_layers_setup_xpm )
EXTERN_BITMAP( copyblock_xpm ) EXTERN_BITMAP( copyblock_xpm )
EXTERN_BITMAP( copycomponent_xpm ) EXTERN_BITMAP( copycomponent_xpm )
EXTERN_BITMAP( copy_button_xpm ) EXTERN_BITMAP( copy_button_xpm )
EXTERN_BITMAP( copy_library_xpm )
EXTERN_BITMAP( create_cmp_file_xpm ) EXTERN_BITMAP( create_cmp_file_xpm )
EXTERN_BITMAP( cursor_shape_xpm ) EXTERN_BITMAP( cursor_shape_xpm )
EXTERN_BITMAP( cursor_xpm ) EXTERN_BITMAP( cursor_xpm )
......
...@@ -410,7 +410,9 @@ void FOOTPRINT_EDIT_FRAME::OnUpdateVerticalToolbar( wxUpdateUIEvent& aEvent ) ...@@ -410,7 +410,9 @@ void FOOTPRINT_EDIT_FRAME::OnUpdateVerticalToolbar( wxUpdateUIEvent& aEvent )
void FOOTPRINT_EDIT_FRAME::OnUpdateLibSelected( wxUpdateUIEvent& aEvent ) void FOOTPRINT_EDIT_FRAME::OnUpdateLibSelected( wxUpdateUIEvent& aEvent )
{ {
aEvent.Enable( getLibPath() != wxEmptyString ); bool enable = getLibPath() != wxEmptyString;
aEvent.Enable( enable );
GetMenuBar()->Enable( ID_MODEDIT_SAVE_LIBRARY_AS, enable );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment