|
|
|
@ -147,7 +147,9 @@ namespace MWGui
|
|
|
|
|
|
|
|
|
|
mDurationValue->setCaption("1");
|
|
|
|
|
mMagnitudeMinValue->setCaption("1");
|
|
|
|
|
mMagnitudeMaxValue->setCaption("- 1");
|
|
|
|
|
static const std::string &to = MWBase::Environment::get().getWindowManager()->getGameSettingString("sTo", "-");
|
|
|
|
|
|
|
|
|
|
mMagnitudeMaxValue->setCaption(to + " 1");
|
|
|
|
|
mAreaValue->setCaption("0");
|
|
|
|
|
|
|
|
|
|
setVisible(true);
|
|
|
|
@ -312,8 +314,9 @@ namespace MWGui
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mEffect.mMagnMax = pos+1;
|
|
|
|
|
static const std::string &to = MWBase::Environment::get().getWindowManager()->getGameSettingString("sTo", "-");
|
|
|
|
|
|
|
|
|
|
mMagnitudeMaxValue->setCaption("- " + MyGUI::utility::toString(pos+1));
|
|
|
|
|
mMagnitudeMaxValue->setCaption(to + " " + MyGUI::utility::toString(pos+1));
|
|
|
|
|
|
|
|
|
|
eventEffectModified(mEffect);
|
|
|
|
|
}
|
|
|
|
|