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.


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

Function Documentation

◆ InvokeDialogUpdateFields()

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

Definition at line 35 of file dialog_update_fields.cpp.

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

References DIALOG_SHIM::ShowQuasiModal().

Referenced by SCH_EDIT_TOOL::UpdateFields(), and DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::UpdateFieldsFromLibrary().