Fix player DrawState reset when selecting enchanted item (Fixes #2356)

celladd
scrawl 10 years ago
parent 399c24c646
commit 218f789d88

@ -95,8 +95,9 @@ namespace MWGui
return;
}
MWBase::Environment::get().getWindowManager()->unsetSelectedSpell();
store.setSelectedEnchantItem(it);
// to reset WindowManager::mSelectedSpell immediately
MWBase::Environment::get().getWindowManager()->setSelectedEnchantItem(*it);
updateSpells();
}

Loading…
Cancel
Save