Skip to content

Commit

Permalink
fix fr this time
Browse files Browse the repository at this point in the history
  • Loading branch information
fourtf committed Apr 17, 2021
1 parent 8c637ca commit bfdf9ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/singletons/WindowManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,6 @@ void WindowManager::encodeNodeRecursively(SplitNode *node, QJsonObject &obj)
QJsonArray filters;
encodeFilters(node->getSplit(), filters);
obj.insert("filters", filters);

obj.insert("flexh", node->getHorizontalFlex());
obj.insert("flexv", node->getVerticalFlex());
}
break;
case SplitNode::HorizontalContainer:
Expand All @@ -524,6 +521,9 @@ void WindowManager::encodeNodeRecursively(SplitNode *node, QJsonObject &obj)
}
break;
}

obj.insert("flexh", node->getHorizontalFlex());
obj.insert("flexv", node->getVerticalFlex());
}

void WindowManager::encodeChannel(IndirectChannel channel, QJsonObject &obj)
Expand Down

0 comments on commit bfdf9ab

Please sign in to comment.