Commit 4e1647d9 authored by nanahira's avatar nanahira

Merge branch 'rename_deck_fh' of https://github.com/purerosefallen/ygopro into rename_deck

parents 5eb15fb5 607fd4ca
......@@ -200,7 +200,7 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
}
if(DeckManager::RenameDeck(mainGame->cbDBDecks->getItem(prev_sel), newname)) {
mainGame->RefreshDeck(mainGame->cbDBDecks);
mainGame->cbDBDecks->setSelected(prev_sel);
deckManager.LoadDeck(mainGame->cbDeckSelect->setSelected(prev_sel));
mainGame->stACMessage->setText(dataManager.GetSysString(1366));
mainGame->PopupElement(mainGame->wACMessage, 20);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment