fix execMark - don't do anything if the puzzle is solved

This commit is contained in:
Stefan Bühler 2012-04-20 15:22:15 +02:00
parent 3b8408f7ac
commit 1c4b3a5f0d
1 changed files with 2 additions and 0 deletions

View File

@ -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)) {