1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-05 15:55:45 +00:00

Unset selected spell after selecting enchanted item in the spell window (Fixes #1878)

This commit is contained in:
MiroslavR 2014-09-07 12:40:36 +02:00
parent 16aa55dcde
commit b574131b06

View File

@ -340,6 +340,7 @@ namespace MWGui
MWBase::Environment::get().getWindowManager()->getInventoryWindow()->useItem(item); MWBase::Environment::get().getWindowManager()->getInventoryWindow()->useItem(item);
} }
MWBase::Environment::get().getWindowManager()->unsetSelectedSpell();
store.setSelectedEnchantItem(it); store.setSelectedEnchantItem(it);
updateSpells(); updateSpells();