fix execMark - don't do anything if the puzzle is solved
This commit is contained in:
parent
3b8408f7ac
commit
1c4b3a5f0d
@ -427,6 +427,8 @@ namespace qcross {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CCrossFieldWidget::execMark(int x, int y, MarkerType & marker) {
|
void CCrossFieldWidget::execMark(int x, int y, MarkerType & marker) {
|
||||||
|
if (m_Solved) return;
|
||||||
|
|
||||||
switch (marker) {
|
switch (marker) {
|
||||||
case CMT_MARKED:
|
case CMT_MARKED:
|
||||||
if (m_Picture->solution().pixel(x, y)) {
|
if (m_Picture->solution().pixel(x, y)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user