MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / navUp

Method navUp

cp-profiler/src/cpprofiler/tree/traditional_view.cpp:147–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147void TraditionalView::navUp()
148{
149 auto nid = node();
150 if (nid == NodeID::NoNode)
151 return;
152
153 utils::DebugMutexLocker tree_lock(&tree_.treeMutex());
154
155 auto pid = tree_.getParent(nid);
156
157 if (pid != NodeID::NoNode)
158 {
159 emit nodeSelected(pid);
160 centerCurrentNode();
161 emit needsRedrawing();
162 }
163}
164
165void TraditionalView::navLeft()
166{

Callers

nothing calls this directly

Calls 1

getParentMethod · 0.45

Tested by

no test coverage detected