From e2691d943cada354c1604288a89cad3d66fdca63 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sat, 18 Jul 2015 23:16:14 +0200 Subject: [PATCH] Fixed #346 Thanks @erihel --- src/object/robotmain.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp index b9335acb..294e7abf 100644 --- a/src/object/robotmain.cpp +++ b/src/object/robotmain.cpp @@ -512,6 +512,7 @@ void CRobotMain::ChangePhase(Phase phase) Ui::CEdit* pe = static_cast(m_interface->CreateEdit(pos, dim, 0, EVENT_CMD)); if (pe == nullptr) return; pe->ClearState(Ui::STATE_VISIBLE); + pe->SetMaxChar(100); m_cmdEdit = false; // hidden for now // Creates the speedometer.