mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 04:45:33 +00:00
Fix old alchemy apparatus still showing in alchemy window after removal
This commit is contained in:
parent
29ac97be7a
commit
ace8e0175b
1 changed files with 2 additions and 1 deletions
|
@ -134,11 +134,12 @@ namespace MWGui
|
|||
for (MWMechanics::Alchemy::TToolsIterator iter (mAlchemy.beginTools());
|
||||
iter!=mAlchemy.endTools() && index<static_cast<int> (mApparatus.size()); ++iter, ++index)
|
||||
{
|
||||
mApparatus.at (index)->setItem(*iter);
|
||||
mApparatus.at (index)->clearUserStrings();
|
||||
if (!iter->isEmpty())
|
||||
{
|
||||
mApparatus.at (index)->setUserString ("ToolTipType", "ItemPtr");
|
||||
mApparatus.at (index)->setUserData (*iter);
|
||||
mApparatus.at (index)->setItem(*iter);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue