PlayWordMediator: set correctly the initial state

This commit is contained in:
Olivier Teulière 2013-01-06 20:06:55 +01:00
parent 4b077bbcd6
commit dd75556902

View file

@ -65,6 +65,9 @@ PlayWordMediator::PlayWordMediator(QObject *parent, QLineEdit &iEditPlay,
this, SLOT(playWord())); this, SLOT(playWord()));
QObject::connect(&m_playModel, SIGNAL(coordChanged(const Coord&, const Coord&)), QObject::connect(&m_playModel, SIGNAL(coordChanged(const Coord&, const Coord&)),
this, SLOT(updateCoord(const Coord&))); this, SLOT(updateCoord(const Coord&)));
// Initial state
updatePointsAndState();
} }