Enable Bmp2Component Export button when loaded from argv

Fixes: lp:1608813
* https://bugs.launchpad.net/kicad/+bug/1608813
This commit is contained in:
Jeff Young
2018-02-18 17:47:26 -05:00
committed by Wayne Stambaugh
parent 3d77ed9e9d
commit 12247db467
+1 -1
View File
@@ -281,7 +281,6 @@ void BM2CMP_FRAME::OnLoadFile( wxCommandEvent& event )
fn = fullFilename;
m_mruPath = fn.GetPath();
m_buttonExport->Enable( true );
SetStatusText( fullFilename );
Refresh();
}
@@ -345,6 +344,7 @@ bool BM2CMP_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, int
m_NB_Image = m_Greyscale_Image;
Binarize( (double) m_sliderThreshold->GetValue()/m_sliderThreshold->GetMax() );
m_buttonExport->Enable( true );
return true;
}