Skip to content

Commit

Permalink
Merge pull request #200 from cneben/f/#190-table-support
Browse files Browse the repository at this point in the history
  • Loading branch information
cneben authored Feb 6, 2023
2 parents 3f66901 + 1b940d1 commit 0fda1a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/qanGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,9 @@ bool qan::Graph::ungroupNode(qan::Node* node, qan::Group* group, bool transfo
group->getGroupItem()->ungroupNodeItem(node->getItem(), transform);
super_t::ungroup_node(node, group);
emit nodeUngrouped(node, group);
const auto tableGroup = qobject_cast<qan::TableGroup*>(group);
if (tableGroup != nullptr) // Note: Specific handling of table, table maintain
emit tableModified(tableGroup); // reference to node in it's cell, force an update
if (node != nullptr &&
node->getItem() != nullptr) {
// Update node z to maxZ: otherwise an undroupped node might be behind it's host group.
Expand Down

0 comments on commit 0fda1a7

Please sign in to comment.