KiCad PCB EDA Suite
dialog_update_fields.cpp File Reference
#include "dialog_update_fields.h"
#include <sch_edit_frame.h>
#include <sch_component.h>
#include <class_libentry.h>
#include <algorithm>

Go to the source code of this file.

Functions

int InvokeDialogUpdateFields (SCH_EDIT_FRAME *aCaller, const list< SCH_COMPONENT * > aComponents, bool aCreateUndoEntry)
 

Function Documentation

int InvokeDialogUpdateFields ( SCH_EDIT_FRAME aCaller,
const list< SCH_COMPONENT * >  aComponents,
bool  aCreateUndoEntry 
)

Definition at line 33 of file dialog_update_fields.cpp.

References DIALOG_SHIM::ShowQuasiModal().

Referenced by SCH_EDIT_FRAME::OnUpdateFields(), and DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::UpdateFieldsFromLibrary().

35 {
36  DIALOG_UPDATE_FIELDS dlg( aCaller, aComponents, aCreateUndoEntry );
37  return dlg.ShowQuasiModal();
38 }
Dialog to update component fields (i.e.