|
|
@ -134,11 +134,12 @@ namespace MWGui
|
|
|
|
for (MWMechanics::Alchemy::TToolsIterator iter (mAlchemy.beginTools());
|
|
|
|
for (MWMechanics::Alchemy::TToolsIterator iter (mAlchemy.beginTools());
|
|
|
|
iter!=mAlchemy.endTools() && index<static_cast<int> (mApparatus.size()); ++iter, ++index)
|
|
|
|
iter!=mAlchemy.endTools() && index<static_cast<int> (mApparatus.size()); ++iter, ++index)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
mApparatus.at (index)->setItem(*iter);
|
|
|
|
|
|
|
|
mApparatus.at (index)->clearUserStrings();
|
|
|
|
if (!iter->isEmpty())
|
|
|
|
if (!iter->isEmpty())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
mApparatus.at (index)->setUserString ("ToolTipType", "ItemPtr");
|
|
|
|
mApparatus.at (index)->setUserString ("ToolTipType", "ItemPtr");
|
|
|
|
mApparatus.at (index)->setUserData (*iter);
|
|
|
|
mApparatus.at (index)->setUserData (*iter);
|
|
|
|
mApparatus.at (index)->setItem(*iter);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|