diff --git a/pcbnew/moduleframe.cpp b/pcbnew/moduleframe.cpp index bd05f70a8a..319c2211a7 100644 --- a/pcbnew/moduleframe.cpp +++ b/pcbnew/moduleframe.cpp @@ -160,6 +160,8 @@ BEGIN_EVENT_TABLE( FOOTPRINT_EDIT_FRAME, PCB_BASE_FRAME ) EVT_UPDATE_UI( ID_NO_TOOL_SELECTED, FOOTPRINT_EDIT_FRAME::OnUpdateVerticalToolbar ) EVT_UPDATE_UI_RANGE( ID_MODEDIT_PAD_TOOL, ID_MODEDIT_PLACE_GRID_COORD, FOOTPRINT_EDIT_FRAME::OnUpdateVerticalToolbar ) + EVT_UPDATE_UI( ID_GEN_IMPORT_DXF_FILE, + FOOTPRINT_EDIT_FRAME::OnUpdateModuleSelected ) END_EVENT_TABLE()