Mark group dirty when clicking "allow redundant constraints" link.

Otherwise, the now-valid constraint will not become satisfied.
pull/66/head
whitequark 2016-10-10 17:44:01 +00:00
parent 9bcba4b92c
commit 3ff236c494
1 changed files with 1 additions and 0 deletions

View File

@ -469,6 +469,7 @@ void TextWindow::ScreenAllowRedundant(int link, uint32_t v) {
Group *g = SK.GetGroup(SS.TW.shown.group); Group *g = SK.GetGroup(SS.TW.shown.group);
g->allowRedundant = true; g->allowRedundant = true;
SS.MarkGroupDirty(g->h);
SS.GenerateAll(); SS.GenerateAll();
SS.TW.shown.screen = Screen::GROUP_INFO; SS.TW.shown.screen = Screen::GROUP_INFO;