|
|
|
@ -3,6 +3,7 @@
|
|
|
|
|
#include <iomanip>
|
|
|
|
|
|
|
|
|
|
#include <MyGUI_Button.h>
|
|
|
|
|
#include <MyGUI_EditBox.h>
|
|
|
|
|
#include <MyGUI_ScrollView.h>
|
|
|
|
|
|
|
|
|
|
#include <components/widgets/list.hpp>
|
|
|
|
@ -312,7 +313,7 @@ namespace MWGui
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (mName->getCaption ().empty())
|
|
|
|
|
if (mName->getOnlyText().empty())
|
|
|
|
|
{
|
|
|
|
|
MWBase::Environment::get().getWindowManager()->messageBox ("#{sNotifyMessage10}");
|
|
|
|
|
return;
|
|
|
|
@ -336,7 +337,7 @@ namespace MWGui
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mEnchanting.setNewItemName(mName->getCaption());
|
|
|
|
|
mEnchanting.setNewItemName(mName->getOnlyText());
|
|
|
|
|
mEnchanting.setEffect(mEffectList);
|
|
|
|
|
|
|
|
|
|
MWWorld::Ptr player = MWMechanics::getPlayer();
|
|
|
|
|