Reload selected GP after changing the name.

This fixes #2159
This commit is contained in:
Deve
2015-08-09 13:12:20 +02:00
parent 43d5dbeb3e
commit 7ae541e638

View File

@@ -291,6 +291,7 @@ void GrandPrixEditorScreen::onNewGPWithName(const stringw& newName)
{
m_selection->setName(newName);
m_selection->writeToFile();
setSelection(grand_prix_manager->getGrandPrix(m_selection->getId()));
}
else if (m_action == "new")
{