Enable Bmp2Component Export button when loaded from argv
Fixes: lp:1608813 * https://bugs.launchpad.net/kicad/+bug/1608813
This commit is contained in:
parent
3d77ed9e9d
commit
12247db467
|
@ -281,7 +281,6 @@ void BM2CMP_FRAME::OnLoadFile( wxCommandEvent& event )
|
||||||
|
|
||||||
fn = fullFilename;
|
fn = fullFilename;
|
||||||
m_mruPath = fn.GetPath();
|
m_mruPath = fn.GetPath();
|
||||||
m_buttonExport->Enable( true );
|
|
||||||
SetStatusText( fullFilename );
|
SetStatusText( fullFilename );
|
||||||
Refresh();
|
Refresh();
|
||||||
}
|
}
|
||||||
|
@ -345,6 +344,7 @@ bool BM2CMP_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, int
|
||||||
m_NB_Image = m_Greyscale_Image;
|
m_NB_Image = m_Greyscale_Image;
|
||||||
Binarize( (double) m_sliderThreshold->GetValue()/m_sliderThreshold->GetMax() );
|
Binarize( (double) m_sliderThreshold->GetValue()/m_sliderThreshold->GetMax() );
|
||||||
|
|
||||||
|
m_buttonExport->Enable( true );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue