mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-22 06:56:36 +00:00
Remove default string when creating a potion that won't work
This commit is contained in:
parent
47b3674bac
commit
1e3ddee291
1 changed files with 0 additions and 2 deletions
|
@ -119,8 +119,6 @@ namespace MWGui
|
|||
|
||||
void AlchemyWindow::onCreateButtonClicked(MyGUI::Widget* _sender)
|
||||
{
|
||||
if (Settings::gui().mControllerMenus && mNameEdit->getCaption().length() == 0)
|
||||
mNameEdit->setCaption("Unknown potion");
|
||||
mAlchemy->setPotionName(mNameEdit->getCaption());
|
||||
int count = mAlchemy->countPotionsToBrew();
|
||||
count = std::min(count, mBrewCountEdit->getValue());
|
||||
|
|
Loading…
Reference in a new issue