ui: fixed some ui related bugs

* aggregation edges only connect toplevel nodes
* fixed aggregation click for undo and redo
* don't show edge name in search field, because they are not searchable
* clear search field when clicking aggregation
* leave active nodes active when clicking edges
This commit is contained in:
Eberhard Graether
2015-08-03 16:33:29 +02:00
parent 165f32f6a6
commit f823d0ddb4
8 changed files with 59 additions and 36 deletions
@@ -29,11 +29,12 @@ void FeatureController::handleMessage(MessageActivateEdge* message)
return;
}
if (message->type == Edge::EDGE_AGGREGATION)
if (message->isAggregation())
{
MessageActivateTokens m(m_storageAccess->getTokenIdsForAggregationEdge(edgeId));
m.isAggregation = true;
m.undoRedoType = message->undoRedoType;
m.dispatch();
m.dispatchImmediately();
return;
}