diff --git a/Source/qtchess_communications.cc b/Source/qtchess_communications.cc index d505a7a..77d7612 100644 --- a/Source/qtchess_communications.cc +++ b/Source/qtchess_communications.cc @@ -618,9 +618,9 @@ void qtchess_communications::slot_read_gnuchess_output(void) { chess ? chess->set_game_over(true) : (void) 0; gui ? gui->show_game_over(WHITE) : (void) 0; - m_gnuchessData.clear(); } - else if(m_gnuchessData.contains("My move is : ")) + + if(m_gnuchessData.contains("My move is : ")) { QString move(""); QStringList state; diff --git a/TO-DO b/TO-DO index 3ce1c0d..ee463f3 100644 --- a/TO-DO +++ b/TO-DO @@ -8,3 +8,4 @@ Completed Items Remaining Items +- Undo a move if GNUChess declares it invalid.