From 1c4b3a5f0d62399399d52f33d7e17c4f9c393d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Fri, 20 Apr 2012 15:22:15 +0200 Subject: [PATCH] fix execMark - don't do anything if the puzzle is solved --- qcross/ccrossfieldwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcross/ccrossfieldwidget.cpp b/qcross/ccrossfieldwidget.cpp index 1a9a6b7..9f00fef 100644 --- a/qcross/ccrossfieldwidget.cpp +++ b/qcross/ccrossfieldwidget.cpp @@ -427,6 +427,8 @@ namespace qcross { } void CCrossFieldWidget::execMark(int x, int y, MarkerType & marker) { + if (m_Solved) return; + switch (marker) { case CMT_MARKED: if (m_Picture->solution().pixel(x, y)) {