mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-15 07:17:46 -04:00
Remove default string when creating a potion that won't work
This commit is contained in:
parent
47b3674bac
commit
1e3ddee291
@ -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…
x
Reference in New Issue
Block a user