mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Return wxID_OK from plot dialog.
This commit is contained in:
parent
6f32ecafe5
commit
6eaeacfe79
eeschema/dialogs
@ -494,7 +494,7 @@ bool DIALOG_EXPORT_NETLIST::TransferDataFromWindow()
|
||||
wxString fileExt;
|
||||
wxString title = _( "Save Netlist File" );
|
||||
|
||||
if (m_job)
|
||||
if( m_job )
|
||||
{
|
||||
NetlistUpdateOpt();
|
||||
return true;
|
||||
|
@ -439,7 +439,7 @@ void DIALOG_PLOT_SCHEMATIC::OnPlotCurrent( wxCommandEvent& event )
|
||||
|
||||
void DIALOG_PLOT_SCHEMATIC::OnPlotAll( wxCommandEvent& event )
|
||||
{
|
||||
if (!m_job)
|
||||
if( !m_job )
|
||||
{
|
||||
plotSchematic( true );
|
||||
}
|
||||
@ -463,8 +463,7 @@ void DIALOG_PLOT_SCHEMATIC::OnPlotAll( wxCommandEvent& event )
|
||||
COLOR_SETTINGS* colors = getColorSettings();
|
||||
m_job->m_theme = colors->GetName();
|
||||
|
||||
|
||||
Close();
|
||||
event.Skip(); // Allow normal close action
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user