Navigation Menu

Skip to content

Commit

Permalink
Fixed|libdeng2: IndirectRule's value becomes zero when unset
Browse files Browse the repository at this point in the history
When the source rule of the indirect rule was removed, the indirect
rule did not invalidate itself. Instead, the last value before the
unsetting remained in effect.
  • Loading branch information
skyjake committed Sep 8, 2013
1 parent b3d328a commit 49cda99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/libdeng2/src/widgets/indirectrule.cpp
Expand Up @@ -40,6 +40,8 @@ void IndirectRule::unsetSource()
{
independentOf(_source);
_source = 0;

invalidate();
}

void IndirectRule::update()
Expand Down

0 comments on commit 49cda99

Please sign in to comment.