Commit 607fd4ca authored by nanahira's avatar nanahira Committed by GitHub

fix deck rename sequence

parent 1cac2d9f
......@@ -199,7 +199,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