From dd75556902f0ca4f55a997f3153f7daf6206c6c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= Date: Sun, 6 Jan 2013 20:06:55 +0100 Subject: [PATCH] PlayWordMediator: set correctly the initial state --- qt/play_word_mediator.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qt/play_word_mediator.cpp b/qt/play_word_mediator.cpp index 3d521fd..680c16b 100644 --- a/qt/play_word_mediator.cpp +++ b/qt/play_word_mediator.cpp @@ -65,6 +65,9 @@ PlayWordMediator::PlayWordMediator(QObject *parent, QLineEdit &iEditPlay, this, SLOT(playWord())); QObject::connect(&m_playModel, SIGNAL(coordChanged(const Coord&, const Coord&)), this, SLOT(updateCoord(const Coord&))); + + // Initial state + updatePointsAndState(); }