1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

report ID errors also via input field tool tips

This commit is contained in:
Marc Zinnschlag 2013-07-28 15:28:35 +02:00
parent 5ec9d370cb
commit 899e18b2cf

View File

@ -17,6 +17,7 @@ void CSVWorld::GenericCreator::update()
mErrors = getErrors(); mErrors = getErrors();
mCreate->setToolTip (QString::fromUtf8 (mErrors.c_str())); mCreate->setToolTip (QString::fromUtf8 (mErrors.c_str()));
mId->setToolTip (QString::fromUtf8 (mErrors.c_str()));
mCreate->setEnabled (mErrors.empty() && !mLocked); mCreate->setEnabled (mErrors.empty() && !mLocked);
} }