Move MappingWindow::OnDefaultFieldsPressed() to correct file

This commit is contained in:
Michael Maltese
2017-06-13 16:57:05 -07:00
parent 6c73079011
commit 2188ac785a
2 changed files with 10 additions and 10 deletions

View File

@ -381,3 +381,13 @@ bool MappingWindow::event(QEvent* event)
return false;
}
void MappingWindow::OnDefaultFieldsPressed()
{
if (m_controller == nullptr)
return;
m_controller->LoadDefaults(g_controller_interface);
m_controller->UpdateReferences(g_controller_interface);
emit Update();
}