mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 22:45:33 +00:00
Unset selected spell after selecting enchanted item in the spell window (Fixes #1878)
This commit is contained in:
parent
16aa55dcde
commit
b574131b06
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue