From b574131b06a6ead0dcc1345d966f3be62548b76a Mon Sep 17 00:00:00 2001 From: MiroslavR Date: Sun, 7 Sep 2014 12:40:36 +0200 Subject: [PATCH] Unset selected spell after selecting enchanted item in the spell window (Fixes #1878) --- apps/openmw/mwgui/spellwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwgui/spellwindow.cpp b/apps/openmw/mwgui/spellwindow.cpp index b558025d1c..bca24a3b6f 100644 --- a/apps/openmw/mwgui/spellwindow.cpp +++ b/apps/openmw/mwgui/spellwindow.cpp @@ -340,6 +340,7 @@ namespace MWGui MWBase::Environment::get().getWindowManager()->getInventoryWindow()->useItem(item); } + MWBase::Environment::get().getWindowManager()->unsetSelectedSpell(); store.setSelectedEnchantItem(it); updateSpells();