diff options
| author | 2015-04-25 11:36:52 +0200 | |
|---|---|---|
| committer | 2015-04-25 11:36:52 +0200 | |
| commit | ea649ea152b7797782ef0345f16de7bcbcc34767 (patch) | |
| tree | ae092a852290559caf854c06c7b1ebbef824f1b1 | |
| parent | be520d006c9aa963511bc5163651f29ff21d7666 (diff) | |
| download | OneRoll-ea649ea152b7797782ef0345f16de7bcbcc34767.tar.gz OneRoll-ea649ea152b7797782ef0345f16de7bcbcc34767.zip | |
better highlightment
| -rw-r--r-- | booleancondition.cpp | 5 | ||||
| -rw-r--r-- | die.cpp | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/booleancondition.cpp b/booleancondition.cpp index de619e7..533ec02 100644 --- a/booleancondition.cpp +++ b/booleancondition.cpp @@ -63,6 +63,11 @@ qint64 BooleanCondition::hasValid(Die* b,bool recursive,bool unhighlight) const { b->setHighlighted(false); } + else + { + b->setHighlighted(true); + } + return sum; } @@ -41,6 +41,7 @@ Die::Die(const Die& die) m_hasValue = die.m_hasValue; m_displayStatus = die.m_displayStatus; m_faces = die.m_faces; + m_highlighted = die.m_highlighted; } void Die::setValue(qint64 r) |