mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 03:54:40 +00:00
clear name edits when opening alchemy / spell creation
This commit is contained in:
parent
6f7a621b6f
commit
646e689239
@ -132,6 +132,8 @@ namespace MWGui
|
||||
openContainer (MWBase::Environment::get().getWorld()->getPlayer().getPlayer()); // this sets mPtr
|
||||
setFilter (ContainerBase::Filter_Ingredients);
|
||||
|
||||
mNameEdit->setCaption("");
|
||||
|
||||
mAlchemy.setAlchemist (mPtr);
|
||||
|
||||
int index = 0;
|
||||
|
@ -170,7 +170,7 @@ void DialogueWindow::startDialogue(MWWorld::Ptr actor, std::string npcName)
|
||||
setTitle(npcName);
|
||||
|
||||
mTopicsList->clear();
|
||||
mHistory->eraseText(0,mHistory->getTextLength());
|
||||
mHistory->setCaption("");
|
||||
updateOptions();
|
||||
}
|
||||
|
||||
|
@ -291,6 +291,7 @@ namespace MWGui
|
||||
void SpellCreationDialog::startSpellMaking (MWWorld::Ptr actor)
|
||||
{
|
||||
mPtr = actor;
|
||||
mNameEdit->setCaption("");
|
||||
|
||||
startEditing();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user