From 517c79c9cd9078961b2583b73e9135127f6bb4f2 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 13 Jun 2019 16:28:24 +0100 Subject: [PATCH] Don't require changes before enabling Export Footprint. Fixes: lp:1832730 * https://bugs.launchpad.net/kicad/+bug/1832730 --- pcbnew/menubar_footprint_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/menubar_footprint_editor.cpp b/pcbnew/menubar_footprint_editor.cpp index eefbc61b91..24bc3c6c10 100644 --- a/pcbnew/menubar_footprint_editor.cpp +++ b/pcbnew/menubar_footprint_editor.cpp @@ -94,7 +94,7 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar() submenuExport->SetTitle( _( "Export" ) ); submenuExport->SetIcon( export_xpm ); - submenuExport->AddItem( PCB_ACTIONS::exportFootprint, modifiedDocumentCondition ); + submenuExport->AddItem( PCB_ACTIONS::exportFootprint, haveFootprintCondition ); submenuExport->AddItem( ID_MODEDIT_SAVE_PNG, _( "Export View as &PNG..." ), _( "Create a PNG file from the current view" ), plot_xpm, SELECTION_CONDITIONS::ShowAlways );