Skip to content

Commit

Permalink
Fixing broken linux build again. Re #6137.
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed Mar 4, 2013
1 parent 6b577a6 commit 3894c8f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ QModelIndex InstrumentTreeWidget::findComponentByName(const QString & name) cons
void InstrumentTreeWidget::sendComponentSelectedSignal(const QModelIndex index)
{
Mantid::Geometry::ComponentID id = static_cast<Mantid::Geometry::ComponentID>(index.internalPointer());
m_instrActor->accept(SetVisibleComponentVisitor(id));
auto visitor = SetVisibleComponentVisitor(id);
m_instrActor->accept( visitor );
emit componentSelected(id);
}

0 comments on commit 3894c8f

Please sign in to comment.