| 329 | |
| 330 | |
| 331 | void ExportsTreeView::exportDoubleClicked(const QModelIndex& cur) |
| 332 | { |
| 333 | SymbolRef sym = m_model->getSymbol(cur); |
| 334 | if (sym) |
| 335 | { |
| 336 | ViewFrame* viewFrame = ViewFrame::viewFrameForWidget(this); |
| 337 | if (viewFrame) |
| 338 | { |
| 339 | if (BinaryNinja::Settings::Instance()->Get<bool>("ui.view.graph.preferred") && |
| 340 | viewFrame->getCurrentBinaryView() && |
| 341 | m_data->GetAnalysisFunctionsForAddress(sym->GetAddress()).size() > 0) |
| 342 | { |
| 343 | viewFrame->navigate("Graph:" + viewFrame->getCurrentDataType(), sym->GetAddress()); |
| 344 | } |
| 345 | else |
| 346 | { |
| 347 | viewFrame->navigate("Linear:" + viewFrame->getCurrentDataType(), sym->GetAddress()); |
| 348 | } |
| 349 | } |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | |
| 354 | void ExportsTreeView::setFilter(const std::string& filterText) |
nothing calls this directly
no test coverage detected