mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-25 21:59:30 +01:00
PlayWordMediator: consider the empty rack as valid
This commit is contained in:
parent
8e6500f6dd
commit
086b597f3e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue