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-17 17:03:08 +00:00 committed by Wayne Stambaugh
parent 3d77ed9e9d
commit 12247db467
1 changed files with 1 additions and 1 deletions

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;
}