From 2c6b3b89da2a728ba6683d9f4455139372beb21b Mon Sep 17 00:00:00 2001 From: John Fultz Date: Mon, 14 Jan 2019 02:46:35 -0600 Subject: Fix #21, committing a phoney cannot be canceled. When going back to edit history, typing a phoney correctly brought up a dialog, but indicating you wanted to cancel the phoney play didn't stop the play from going down, or a subsequent computer player from making its play. --- quacker/graphicalboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quacker/graphicalboard.h') diff --git a/quacker/graphicalboard.h b/quacker/graphicalboard.h index 98971d0..500628c 100644 --- a/quacker/graphicalboard.h +++ b/quacker/graphicalboard.h @@ -143,7 +143,7 @@ protected slots: void commitHandler(); void appendHandler(const QString &text, bool shiftPressed); - void setGlobalCandidate(); + void setGlobalCandidate(bool *carryOn); // returns false if the user canceled a badly formed move void setAndCommitGlobalCandidate(); virtual void tileClicked(const QSize &tileLocation, const QMouseEvent * /* event */); -- cgit v1.2.3