PlayWordMediator: consider the empty rack as valid

This commit is contained in:
Olivier Teulière 2013-01-15 11:42:05 +01:00
parent 8e6500f6dd
commit 086b597f3e

View file

@ -177,7 +177,7 @@ void PlayWordMediator::onCoordChanged()
void PlayWordMediator::onWordChanged()
{
bool acceptableInput = m_lineEditPlay.hasAcceptableInput();
bool acceptableInput = m_lineEditPlay.hasAcceptableInput() || m_lineEditPlay.text() == "";
m_lineEditPlay.setPalette(acceptableInput ? blackPalette : redPalette);
if (acceptableInput)